style: fix linting issues met Prettier

This commit is contained in:
Lint Action 2025-04-24 08:47:39 +00:00
parent 6c1aeb2331
commit 6847961688

View file

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