style: fix linting issues met Prettier
This commit is contained in:
parent
7da52284e6
commit
bb2eacdc4c
19 changed files with 26 additions and 26 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue