Initial role user app
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { proxyBackendJson } from "@/lib/backend";
|
||||
import type { AuthUser } from "@/lib/types";
|
||||
|
||||
export async function PATCH(request: Request) {
|
||||
const body = await request.text();
|
||||
|
||||
return proxyBackendJson<AuthUser>("/auth/me/password", {
|
||||
method: "PATCH",
|
||||
body: body || undefined
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user