File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ import {
4
4
getQuestionDetailsService ,
5
5
getRandomQuestionService ,
6
6
searchQuestionsByTitleService ,
7
- } from '.. /services/get/index' ;
8
- import {
7
+ } from '@ /services/get/index' ;
8
+ import type {
9
9
IGetQuestionsPayload ,
10
10
IGetQuestionPayload ,
11
11
IGetRandomQuestionPayload ,
12
- } from '.. /services/get/types' ;
12
+ } from '@ /services/get/types' ;
13
13
14
14
export const getQuestions = async ( req : Request , res : Response ) : Promise < Response > => {
15
15
const payload : IGetQuestionsPayload = {
Original file line number Diff line number Diff line change 1
1
import { Router } from 'express' ;
2
+
2
3
import {
3
4
searchQuestionsByTitle ,
4
5
getQuestions ,
5
6
getQuestionDetails ,
6
7
getRandomQuestion ,
7
- } from '.. /controller/question-controller' ;
8
+ } from '@ /controller/question-controller' ;
8
9
9
10
const router = Router ( ) ;
10
11
You can’t perform that action at this time.
0 commit comments