style: fix linting issues met Prettier

This commit is contained in:
Lint Action 2025-05-15 19:01:10 +00:00
parent 7da52284e6
commit bb2eacdc4c
19 changed files with 26 additions and 26 deletions

View file

@ -6,7 +6,7 @@ import { AuthenticationInfo } from '../authentication-info.js';
import { authorize } from './auth-checks.js';
import { FALLBACK_LANG } from '../../../config.js';
import { mapToUsername } from '../../../interfaces/user.js';
import {AccountType} from "@dwengo-1/common/util/account-types";
import { AccountType } from '@dwengo-1/common/util/account-types';
export const onlyAllowSubmitter = authorize(
(auth: AuthenticationInfo, req: AuthenticatedRequest) => (req.body as { submitter: string }).submitter === auth.username