Skip to content

Commit aeef60e

Browse files
committed
fix(data): add in-app notification updater to registry
- Register in-app notification update operation in DataOperationRegistry - Ensure proper handling of InAppNotification type during update
1 parent 02fc87e commit aeef60e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/src/registry/data_operation_registry.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,11 @@ class DataOperationRegistry {
428428
'remote_config': (c, id, item, uid) => c
429429
.read<DataRepository<RemoteConfig>>()
430430
.update(id: id, item: item as RemoteConfig, userId: uid),
431+
'in_app_notification': (c, id, item, uid) =>
432+
c.read<DataRepository<InAppNotification>>().update(
433+
id: id,
434+
item: item as InAppNotification,
435+
),
431436
});
432437

433438
// --- Register Item Deleters ---

0 commit comments

Comments
 (0)