mirror of
https://github.com/docmost/docmost.git
synced 2025-11-23 02:51:09 +10:00
cleanups
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
import api from "@/lib/api-client";
|
||||
import { ICurrentUser, IUser } from "@/features/user/types/user.types";
|
||||
import { IAttachment } from "@/lib/types.ts";
|
||||
|
||||
export async function getMyInfo(): Promise<ICurrentUser> {
|
||||
const req = await api.post<ICurrentUser>("/users/me");
|
||||
@ -22,6 +21,5 @@ export async function uploadAvatar(file: File): Promise<any> {
|
||||
"Content-Type": "multipart/form-data",
|
||||
},
|
||||
});
|
||||
console.log(req);
|
||||
return req;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user