mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 15:20:43 +00:00
revert
This commit is contained in:
+1
-1
@@ -69,9 +69,9 @@ export async function getUserMe(
|
||||
| { type: "error"; message: string }
|
||||
> {
|
||||
try {
|
||||
// Get the user object
|
||||
const response = await fetch(ServerEnv.jwtIssuer() + "/users/@me", {
|
||||
headers: {
|
||||
Accept: "application/json",
|
||||
authorization: `Bearer ${token}`,
|
||||
"x-api-key": ServerEnv.apiKey(),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user