Skip to content

Commit 944bc83

Browse files
committed
Updated OPSqliteAdapter with incoming changes.
1 parent 21a0f0c commit 944bc83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/powersync-op-sqlite/src/db/OPSqliteAdapter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,8 @@ export class OPSQLiteDBAdapter extends BaseObserver<DBAdapterListener> implement
275275
async refreshSchema(): Promise<void> {
276276
await this.writeConnection?.refreshSchema();
277277

278-
for (let connection of this.readConnections) {
279-
await connection.refreshSchema();
278+
for (let readConnection of this.readConnections) {
279+
await readConnection.connection.refreshSchema();
280280
}
281281
}
282282
}

0 commit comments

Comments
 (0)