chore: fix linting in entire project

This commit is contained in:
mrjvs
2026-08-09 21:28:45 +02:00
parent 843f1abdde
commit 2400e98d8f
41 changed files with 350 additions and 264 deletions

View File

@@ -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
}
})
});
});