style: fix linting issues met Prettier
This commit is contained in:
parent
3e808235d7
commit
7e2160f70d
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ export function authorize<P, ResBody, ReqBody, ReqQuery, Locals extends Record<s
|
||||||
accessCondition: (auth: AuthenticationInfo, req: AuthenticatedRequest<P, ResBody, ReqBody, ReqQuery, Locals>) => boolean | Promise<boolean>
|
accessCondition: (auth: AuthenticationInfo, req: AuthenticatedRequest<P, ResBody, ReqBody, ReqQuery, Locals>) => boolean | Promise<boolean>
|
||||||
): RequestHandler<P, ResBody, ReqBody, ReqQuery, Locals> {
|
): RequestHandler<P, ResBody, ReqBody, ReqQuery, Locals> {
|
||||||
// Bypass authentication during testing
|
// Bypass authentication during testing
|
||||||
if (getEnvVar(envVars.RunMode) === "test") {
|
if (getEnvVar(envVars.RunMode) === 'test') {
|
||||||
return async (
|
return async (
|
||||||
_req: AuthenticatedRequest<P, ResBody, ReqBody, ReqQuery, Locals>,
|
_req: AuthenticatedRequest<P, ResBody, ReqBody, ReqQuery, Locals>,
|
||||||
_res: express.Response,
|
_res: express.Response,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue