removed user/me api
This commit is contained in:
parent
da0de6b7e5
commit
50723718e4
1 changed files with 0 additions and 7 deletions
|
|
@ -1,7 +0,0 @@
|
||||||
import { NextRequest, NextResponse } from "next/server";
|
|
||||||
import { dFetchJSON } from "../../options/_lib";
|
|
||||||
|
|
||||||
export async function GET(req: NextRequest) {
|
|
||||||
const body = await dFetchJSON(req, "/users/me?fields=id,username,display_name,first_name,last_name,email");
|
|
||||||
return NextResponse.json(body, { headers: { "cache-control": "no-store" } });
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue