Skip to content

Commit 5ad57a0

Browse files
cleanup
1 parent e88acfe commit 5ad57a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/PowerSync/Kotlin/KotlinPowerSyncDatabaseImpl.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ final class KotlinPowerSyncDatabaseImpl: PowerSyncDatabaseProtocol {
385385
let tableRows = try await getAll(
386386
sql: "SELECT tbl_name FROM sqlite_master WHERE rootpage IN (SELECT json_each.value FROM json_each(?))",
387387
parameters: [
388-
pagesString,
388+
pagesString
389389
]
390390
) { try $0.getString(index: 0) }
391391

@@ -411,7 +411,7 @@ extension Error {
411411
func toPowerSyncError() -> PowerSyncKotlin.PowerSyncException {
412412
return PowerSyncKotlin.PowerSyncException(
413413
message: localizedDescription,
414-
cause: nil
414+
cause: PowerSyncKotlin.KotlinThrowable(message: localizedDescription)
415415
)
416416
}
417417
}

0 commit comments

Comments
 (0)