Skip to content

Commit 7b87214

Browse files
committed
Fix build errors.
1 parent 3c77f43 commit 7b87214

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

modules/module-mongodb/src/api/MongoRouteAPIAdapter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export class MongoRouteAPIAdapter implements api.RouteAPI {
138138
patternResult.tables = [];
139139
for (let collection of collections) {
140140
const sourceTable = new SourceTable({
141-
id: 0,
141+
id: '', // not used
142142
connectionTag: this.connectionTag,
143143
objectId: collection.name,
144144
schema: schema,
@@ -165,7 +165,7 @@ export class MongoRouteAPIAdapter implements api.RouteAPI {
165165
}
166166
} else {
167167
const sourceTable = new SourceTable({
168-
id: 0,
168+
id: '', // not used
169169
connectionTag: this.connectionTag,
170170
objectId: tablePattern.name,
171171
schema: schema,

modules/module-postgres/src/replication/replication-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ export async function getDebugTableInfo(options: GetDebugTableInfoOptions): Prom
323323
const id_columns = id_columns_result?.replicationColumns ?? [];
324324

325325
const sourceTable = new storage.SourceTable({
326-
id: 0,
326+
id: '', // not used
327327
connectionTag: connectionTag,
328328
objectId: relationId ?? 0,
329329
schema: schema,

0 commit comments

Comments
 (0)