Skip to content

Commit c8bf0ec

Browse files
committed
fix(syncServer): cherry pick build fix from #6492
1 parent bc61966 commit c8bf0ec

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/sync-server/src/sync/CentralSyncManager.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ export class CentralSyncManager {
255255
if (params.projectIds?.length === 0) {
256256
throw new Error('No project IDs provided');
257257
}
258-
258+
259259
await this.connectToSession(sessionId);
260260

261261
// first check if the snapshot is already being processed, to throw a sane error if (for some
@@ -335,7 +335,7 @@ export class CentralSyncManager {
335335
unmarkSessionAsProcessing: () => Promise<void>,
336336
accessPolicy: AccessPolicy,
337337
): Promise<void> {
338-
const { since, projectIds, userId, deviceId } = snapshotParams;
338+
const { since, projectIds, deviceId } = snapshotParams;
339339
let transactionTimeout;
340340
try {
341341
await this.connectToSession(sessionId);
@@ -380,7 +380,6 @@ export class CentralSyncManager {
380380
since,
381381
sessionId,
382382
deviceId,
383-
userId,
384383
projectIds,
385384
this.config,
386385
);

0 commit comments

Comments
 (0)