style: fix linting issues met Prettier
This commit is contained in:
parent
7f670030a7
commit
0c47546814
30 changed files with 233 additions and 262 deletions
|
@ -1,12 +1,7 @@
|
|||
import express from 'express';
|
||||
import { createAnswerHandler, deleteAnswerHandler, getAnswerHandler, getAllAnswersHandler, updateAnswerHandler } from '../controllers/answers.js';
|
||||
import {adminOnly, teachersOnly} from "../middleware/auth/checks/auth-checks";
|
||||
import {
|
||||
onlyAllowAuthor,
|
||||
onlyAllowAuthorRequestAnswer,
|
||||
onlyAllowIfHasAccessToQuestion
|
||||
} from "../middleware/auth/checks/question-checks";
|
||||
|
||||
import { adminOnly, teachersOnly } from '../middleware/auth/checks/auth-checks';
|
||||
import { onlyAllowAuthor, onlyAllowAuthorRequestAnswer, onlyAllowIfHasAccessToQuestion } from '../middleware/auth/checks/question-checks';
|
||||
|
||||
const router = express.Router({ mergeParams: true });
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue