File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed
backend-javascript/src/modules/continent
backend-typescript/src/modules/city Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class Controller {
17
17
18
18
return next ( error ) ;
19
19
}
20
- }
20
+ } ;
21
21
22
22
getItemById = async ( req , res , next ) => {
23
23
try {
@@ -41,7 +41,7 @@ class Controller {
41
41
42
42
return next ( error ) ;
43
43
}
44
- }
44
+ } ;
45
45
46
46
createItem = async ( req , res , next ) => {
47
47
try {
@@ -60,7 +60,7 @@ class Controller {
60
60
61
61
return next ( error ) ;
62
62
}
63
- }
63
+ } ;
64
64
65
65
updateItem = async ( req , res , next ) => {
66
66
try {
@@ -79,7 +79,7 @@ class Controller {
79
79
80
80
return next ( error ) ;
81
81
}
82
- }
82
+ } ;
83
83
84
84
deleteItem = async ( req , res , next ) => {
85
85
try {
@@ -94,7 +94,7 @@ class Controller {
94
94
95
95
return next ( error ) ;
96
96
}
97
- }
97
+ } ;
98
98
}
99
99
100
100
export default Controller ;
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ export default class Controller {
12
12
this . service = service ;
13
13
}
14
14
15
-
16
15
getItems = async ( req : Request , res : Response , next : NextFunction ) : Promise < void > => {
17
16
try {
18
17
const result = await this . service . getItems ( req . query ) ;
@@ -22,7 +21,7 @@ export default class Controller {
22
21
} catch ( error ) {
23
22
return next ( error ) ;
24
23
}
25
- }
24
+ } ;
26
25
27
26
getItemById = async ( req : Request , res : Response , next : NextFunction ) : Promise < void > => {
28
27
try {
@@ -48,7 +47,7 @@ export default class Controller {
48
47
49
48
return next ( error ) ;
50
49
}
51
- }
50
+ } ;
52
51
53
52
createItem = async ( req : Request , res : Response , next : NextFunction ) : Promise < void > => {
54
53
try {
@@ -69,7 +68,7 @@ export default class Controller {
69
68
70
69
return next ( error ) ;
71
70
}
72
- }
71
+ } ;
73
72
74
73
updateItem = async ( req : Request , res : Response , next : NextFunction ) : Promise < void > => {
75
74
try {
@@ -89,7 +88,7 @@ export default class Controller {
89
88
90
89
return next ( error ) ;
91
90
}
92
- }
91
+ } ;
93
92
94
93
deleteItem = async ( req : Request , res : Response , next : NextFunction ) : Promise < void > => {
95
94
try {
@@ -105,5 +104,5 @@ export default class Controller {
105
104
106
105
return next ( error ) ;
107
106
}
108
- }
107
+ } ;
109
108
}
You can’t perform that action at this time.
0 commit comments