File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -51,12 +51,12 @@ export class InstallationsRouter extends ClassesRouter {
51
51
}
52
52
53
53
getExpressRouter ( ) {
54
- var router = new PromiseRouter ( ) ;
55
- router . route ( 'GET' , '/installations' , ( req ) => { return this . handleFind ( req ) ; } ) ;
56
- router . route ( 'GET' , '/installations/:objectId' , ( req ) => { return this . handleGet ( req ) ; } ) ;
57
- router . route ( 'POST' , '/installations' , ( req ) => { return this . handleCreate ( req ) ; } ) ;
58
- router . route ( 'PUT' , '/installations/:objectId' , ( req ) => { return this . handleUpdate ( req ) ; } ) ;
59
- router . route ( 'DELETE' , '/installations/:objectId' , ( req ) => { return this . handleDelete ( req ) ; } ) ;
54
+ let router = new PromiseRouter ( ) ;
55
+ router . route ( 'GET' , '/installations' , req => { return this . handleFind ( req ) ; } ) ;
56
+ router . route ( 'GET' , '/installations/:objectId' , req => { return this . handleGet ( req ) ; } ) ;
57
+ router . route ( 'POST' , '/installations' , req => { return this . handleCreate ( req ) ; } ) ;
58
+ router . route ( 'PUT' , '/installations/:objectId' , req => { return this . handleUpdate ( req ) ; } ) ;
59
+ router . route ( 'DELETE' , '/installations/:objectId' , req => { return this . handleDelete ( req ) ; } ) ;
60
60
return router ;
61
61
}
62
62
}
You can’t perform that action at this time.
0 commit comments