Run Prettier JS #2 (#6796)

This commit is contained in:
Diamond Lewis
2020-07-13 17:13:08 -05:00
committed by GitHub
parent e6a6354b29
commit 142eaa71bd
40 changed files with 323 additions and 330 deletions

View File

@@ -6,19 +6,19 @@ export class RolesRouter extends ClassesRouter {
}
mountRoutes() {
this.route('GET', '/roles', (req) => {
this.route('GET', '/roles', req => {
return this.handleFind(req);
});
this.route('GET', '/roles/:objectId', (req) => {
this.route('GET', '/roles/:objectId', req => {
return this.handleGet(req);
});
this.route('POST', '/roles', (req) => {
this.route('POST', '/roles', req => {
return this.handleCreate(req);
});
this.route('PUT', '/roles/:objectId', (req) => {
this.route('PUT', '/roles/:objectId', req => {
return this.handleUpdate(req);
});
this.route('DELETE', '/roles/:objectId', (req) => {
this.route('DELETE', '/roles/:objectId', req => {
return this.handleDelete(req);
});
}