Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: fix update user

Stevenc42af95dd3b0
diff --git a/web/src/store/v1/user.ts b/web/src/store/v1/user.ts
index 22aafe132..980890c91 100644
--- a/web/src/store/v1/user.ts
+++ b/web/src/store/v1/user.ts
@@ -44,7 +44,6 @@ const useUserV1Store = create<UserV1Store>()((set, get) => ({
},
updateUser: async (user: Partial<User>, updateMask: string[]) => {
const { user: updatedUser } = await userServiceClient.updateUser({
- username: user.username,
user: user,
updateMask: updateMask,
});