Update lib/services/collection_service.dart

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Lukas Müllner 2026-02-24 20:16:21 +01:00 committed by GitHub
parent 05bdd281b6
commit 2699242fdf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -172,7 +172,8 @@ class CollectionService {
}) async { }) async {
await supabase.from('collections').update({ await supabase.from('collections').update({
'name': name, 'name': name,
'description': description, if (description != null && description.isNotEmpty)
'description': description,
}).eq('id', collectionId); }).eq('id', collectionId);
} }