See and change description of checklist
This commit is contained in:
1 parent
fda0f759a6
commit
f23a103e88
3 files changed
+50
-12
No files matched your search
@@ -86,6 +86,13 @@ class DbHelper {
|
||||
.update({'title': title}).eq('id', id);
|
||||
}
|
||||
|
||||
static Future<void> updateChecklistDescription(
|
||||
int id, String description) async {
|
||||
await _client
|
||||
.from(checklistsTableName)
|
||||
.update({'description': description}).eq('id', id);
|
||||
}
|
||||
|
||||
/// returns id of newly created checklist
|
||||
static Future<int> addOrUpdateChecklist(Checklist? checklist) async {
|
||||
final ownerId = _client.auth.currentSession!.user.id;
|
||||
|
||||
Reference in new issue
Block a user