mirror of
https://github.com/docmost/docmost.git
synced 2026-05-20 00:14:10 +08:00
remove unused type
This commit is contained in:
@@ -38,7 +38,7 @@ export async function forgotPassword(data: IForgotPassword): Promise<void> {
|
|||||||
await api.post<void>("/auth/forgot-password", data);
|
await api.post<void>("/auth/forgot-password", data);
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function passwordReset(data: IPasswordReset): Promise<{ requiresLogin?: boolean; message?: string }> {
|
export async function passwordReset(data: IPasswordReset): Promise<{ requiresLogin?: boolean; }> {
|
||||||
const req = await api.post("/auth/password-reset", data);
|
const req = await api.post("/auth/password-reset", data);
|
||||||
return req.data;
|
return req.data;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user