Skip to content

Commit 82fc7f5

Browse files
committed
lint
1 parent d4f4df9 commit 82fc7f5

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

src/RestQuery.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ async function RestQuery({
5353
enforceRoleSecurity(method, className, auth);
5454
const result = runBeforeFind
5555
? await triggers.maybeRunQueryTrigger(
56-
triggers.Types.beforeFind,
57-
className,
58-
restWhere,
59-
restOptions,
60-
config,
61-
auth,
62-
context,
63-
method === RestQuery.Method.get
64-
)
56+
triggers.Types.beforeFind,
57+
className,
58+
restWhere,
59+
restOptions,
60+
config,
61+
auth,
62+
context,
63+
method === RestQuery.Method.get
64+
)
6565
: Promise.resolve({ restWhere, restOptions });
6666

6767
return new _UnsafeRestQuery(

src/Routers/PagesRouter.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,11 @@ export class PagesRouter extends PromiseRouter {
227227
const query = result.success
228228
? {}
229229
: {
230-
[pageParams.token]: token,
231-
[pageParams.appId]: config.applicationId,
232-
[pageParams.error]: result.err,
233-
[pageParams.appName]: config.appName,
234-
};
230+
[pageParams.token]: token,
231+
[pageParams.appId]: config.applicationId,
232+
[pageParams.error]: result.err,
233+
[pageParams.appName]: config.appName,
234+
};
235235

236236
if (result?.err === 'The password reset link has expired') {
237237
delete query[pageParams.token];
@@ -303,9 +303,9 @@ export class PagesRouter extends PromiseRouter {
303303
return Utils.getLocalizedPath(defaultPath, locale).then(({ path, subdir }) =>
304304
redirect
305305
? this.redirectResponse(
306-
this.composePageUrl(defaultFile, config.publicServerURL, subdir),
307-
params
308-
)
306+
this.composePageUrl(defaultFile, config.publicServerURL, subdir),
307+
params
308+
)
309309
: this.pageResponse(path, params, placeholders)
310310
);
311311
} else {
@@ -535,10 +535,10 @@ export class PagesRouter extends PromiseRouter {
535535
getDefaultParams(config) {
536536
return config
537537
? {
538-
[pageParams.appId]: config.appId,
539-
[pageParams.appName]: config.appName,
540-
[pageParams.publicServerUrl]: config.publicServerURL,
541-
}
538+
[pageParams.appId]: config.appId,
539+
[pageParams.appName]: config.appName,
540+
[pageParams.publicServerUrl]: config.publicServerURL,
541+
}
542542
: {};
543543
}
544544

0 commit comments

Comments
 (0)