mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-09-08 08:56:39 -05:00
chore: fix linting in entire project
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { AccountUpdateSchema } from "~~/shared/api-types";
|
||||
import { AccountUpdateSchema } from '~~/shared/api-types';
|
||||
|
||||
export default defineEventHandler(async (event): Promise<void> => {
|
||||
const body = await readZodBody(event, AccountUpdateSchema);
|
||||
@@ -8,11 +8,11 @@ export default defineEventHandler(async (event): Promise<void> => {
|
||||
// There's no equivalent GRPC endpoint to use, so we're using the HTTP api
|
||||
await apiFetch('/v1/user', {
|
||||
headers: {
|
||||
'Authorization': `Bearer ${auth.token}`,
|
||||
Authorization: `Bearer ${auth.token}`
|
||||
},
|
||||
body: {
|
||||
mii: body.mii,
|
||||
environment: body.environment
|
||||
}
|
||||
})
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user