style: fix linting issues met Prettier
This commit is contained in:
parent
7da52284e6
commit
bb2eacdc4c
19 changed files with 26 additions and 26 deletions
|
@ -7,7 +7,7 @@ import { fetchQuestion } from '../../../services/questions.js';
|
|||
import { FALLBACK_SEQ_NUM } from '../../../config.js';
|
||||
import { fetchAnswer } from '../../../services/answers.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 onlyAllowAuthor = authorize(
|
||||
(auth: AuthenticationInfo, req: AuthenticatedRequest) => (req.body as { author: string }).author === auth.username
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue