Skip to content

Commit a83e29b

Browse files
committed
refactor: Implement Timestamp Logic for Updates
1 parent 74bdfe3 commit a83e29b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/content_management/bloc/edit_category/edit_category_bloc.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ class EditCategoryBloc extends Bloc<EditCategoryEvent, EditCategoryState> {
135135
description: state.description.isNotEmpty ? state.description : null,
136136
iconUrl: state.iconUrl.isNotEmpty ? state.iconUrl : null,
137137
status: state.contentStatus,
138+
updatedAt: DateTime.now(),
138139
);
139140

140141
await _categoriesRepository.update(

0 commit comments

Comments
 (0)