Skip to content

Commit 78658d7

Browse files
committed
Fix SQLiter crash
1 parent 35c57c9 commit 78658d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/commonMain/kotlin/com/powersync/db/StreamImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ internal class StreamTracker(
2323

2424
suspend fun subscriptionsCommand(command: RustSubscriptionChangeRequest) {
2525
db.writeTransaction { tx ->
26-
tx.execute("SELECT powersync_control(?,?)", listOf("subscriptions", jsonDontEncodeDefaults.encodeToString(command)))
26+
tx.get("SELECT powersync_control(?,?)", listOf("subscriptions", jsonDontEncodeDefaults.encodeToString(command))) {}
2727
}
2828
db.resolveOfflineSyncStatusIfNotConnected()
2929
}

0 commit comments

Comments
 (0)