Skip to content

Commit 79357be

Browse files
committed
fix(registry): correct user copy operation in update function
- Replace feedActionStatus with feedDecoratorStatus when updating user
1 parent adde995 commit 79357be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/registry/data_operation_registry.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ class DataOperationRegistry {
199199
final repo = c.read<DataRepository<User>>();
200200
final existingUser = c.read<FetchedItem<dynamic>>().data as User;
201201
final updatedUser = existingUser.copyWith(
202-
feedActionStatus: (item as User).feedActionStatus,
202+
feedDecoratorStatus: (item as User).feedDecoratorStatus,
203203
);
204204
return repo.update(id: id, item: updatedUser, userId: uid);
205205
},

0 commit comments

Comments
 (0)