Update lib/services/collection_service.dart
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
05bdd281b6
commit
2699242fdf
1 changed files with 2 additions and 1 deletions
|
|
@ -172,6 +172,7 @@ class CollectionService {
|
|||
}) async {
|
||||
await supabase.from('collections').update({
|
||||
'name': name,
|
||||
if (description != null && description.isNotEmpty)
|
||||
'description': description,
|
||||
}).eq('id', collectionId);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue