Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: fix export format converter (#11435)

boojacka92ee2ff189f
diff --git a/backend/api/v1/common.go b/backend/api/v1/common.go
index 4fd264e90e..a5e11e27a3 100644
--- a/backend/api/v1/common.go
+++ b/backend/api/v1/common.go
@@ -444,6 +444,8 @@ func convertExportFormat(format storepb.ExportFormat) v1pb.ExportFormat {
return v1pb.ExportFormat_JSON
case storepb.ExportFormat_SQL:
return v1pb.ExportFormat_SQL
+ case storepb.ExportFormat_XLSX:
+ return v1pb.ExportFormat_XLSX
}
return v1pb.ExportFormat_FORMAT_UNSPECIFIED
}
@@ -456,6 +458,8 @@ func convertToExportFormat(format v1pb.ExportFormat) storepb.ExportFormat {
return storepb.ExportFormat_JSON
case v1pb.ExportFormat_SQL:
return storepb.ExportFormat_SQL
+ case v1pb.ExportFormat_XLSX:
+ return storepb.ExportFormat_XLSX
}
return storepb.ExportFormat_FORMAT_UNSPECIFIED
}