chore: update acl config

This commit is contained in:
Steven
2023-12-22 09:11:55 +08:00
parent 34af969785
commit 17e905085f
2 changed files with 3 additions and 8 deletions

View File

@ -48,14 +48,6 @@ export function getUserList() {
return axios.get<User[]>("/api/v1/user");
}
export function getUserById(id: number) {
return axios.get<User>(`/api/v1/user/${id}`);
}
export function upsertUserSetting(upsert: UserSettingUpsert) {
return axios.post<UserSetting>(`/api/v1/user/setting`, upsert);
}
export function getMemoStats(username: string) {
return axios.get<number[]>(`/api/v1/memo/stats?creatorUsername=${username}`);
}