feature: Adds eslint rules.
This commit is contained in:
parent
09f7987e75
commit
3c95c23369
26 changed files with 124 additions and 95 deletions
|
@ -31,7 +31,7 @@ export function route(routeOptions: RouteOptions) {
|
|||
},
|
||||
},
|
||||
async (req, res) => {
|
||||
// @ts-expect-error
|
||||
// @ts-expect-error: Fastify routes schema parsing is trustworthy, so we can "assume" invalid types
|
||||
const body: {
|
||||
token: string;
|
||||
id?: number;
|
||||
|
@ -64,7 +64,7 @@ export function route(routeOptions: RouteOptions) {
|
|||
name: i.name,
|
||||
email: i.email,
|
||||
isServiceAccount: i.isRootServiceAccount,
|
||||
username: i.username
|
||||
username: i.username,
|
||||
})),
|
||||
};
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue