mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: migrate delete user
This commit is contained in:
@ -64,10 +64,6 @@ export function patchUser(userPatch: UserPatch) {
|
||||
return axios.patch<User>(`/api/v1/user/${userPatch.id}`, userPatch);
|
||||
}
|
||||
|
||||
export function deleteUser(userDelete: UserDelete) {
|
||||
return axios.delete(`/api/v1/user/${userDelete.id}`);
|
||||
}
|
||||
|
||||
export function getAllMemos(memoFind?: MemoFind) {
|
||||
const queryList = [];
|
||||
if (memoFind?.offset) {
|
||||
|
Reference in New Issue
Block a user