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

@@ -21,7 +21,7 @@ export class PurgeRouter extends PromiseRouter {
}
return { response: {} };
})
.catch((error) => {
.catch(error => {
if (!error || (error && error.code === Parse.Error.OBJECT_NOT_FOUND)) {
return { response: {} };
}
@@ -34,7 +34,7 @@ export class PurgeRouter extends PromiseRouter {
'DELETE',
'/purge/:className',
middleware.promiseEnforceMasterKeyAccess,
(req) => {
req => {
return this.handlePurge(req);
}
);