We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe88057 commit 9df1e92Copy full SHA for 9df1e92
packages/powersync_core/lib/src/bucket_storage.dart
@@ -173,10 +173,7 @@ class BucketStorage {
173
{int? priority}) async {
174
final rs =
175
await select("SELECT powersync_validate_checkpoint(?) as result", [
176
- jsonEncode({
177
- ...checkpoint.toJson(priority: priority),
178
- if (priority != null) 'priority': priority,
179
- })
+ jsonEncode({...checkpoint.toJson(priority: priority)})
180
]);
181
final result =
182
jsonDecode(rs[0]['result'] as String) as Map<String, dynamic>;
0 commit comments