Skip to content

Open-source and local-first Slack and Notion alternative that puts you in control of your data

Fix database update mutation

Hakan Shehue8f5a5eeabac
diff --git a/apps/desktop/src/main/mutations/databases/database-update.ts b/apps/desktop/src/main/mutations/databases/database-update.ts
index 8f0773a3..bac79f29 100644
--- a/apps/desktop/src/main/mutations/databases/database-update.ts
+++ b/apps/desktop/src/main/mutations/databases/database-update.ts
@@ -20,6 +20,7 @@ export class DatabaseUpdateMutationHandler
input.databaseId,
(attributes) => {
attributes.name = input.name;
+ attributes.avatar = input.avatar;
return attributes;
}