chore: migrate update user

This commit is contained in:
Steven
2023-11-22 23:11:29 +08:00
parent c0628ef95b
commit e5f660a006
4 changed files with 34 additions and 21 deletions

View File

@ -56,10 +56,6 @@ export function upsertUserSetting(upsert: UserSettingUpsert) {
return axios.post<UserSetting>(`/api/v1/user/setting`, upsert);
}
export function patchUser(userPatch: UserPatch) {
return axios.patch<User>(`/api/v1/user/${userPatch.id}`, userPatch);
}
export function getAllMemos(memoFind?: MemoFind) {
const queryList = [];
if (memoFind?.offset) {