@@ -227,11 +227,11 @@ export class PagesRouter extends PromiseRouter {
227
227
const query = result . success
228
228
? { }
229
229
: {
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
+ } ;
235
235
236
236
if ( result ?. err === 'The password reset link has expired' ) {
237
237
delete query [ pageParams . token ] ;
@@ -303,9 +303,9 @@ export class PagesRouter extends PromiseRouter {
303
303
return Utils . getLocalizedPath ( defaultPath , locale ) . then ( ( { path, subdir } ) =>
304
304
redirect
305
305
? this . redirectResponse (
306
- this . composePageUrl ( defaultFile , config . publicServerURL , subdir ) ,
307
- params
308
- )
306
+ this . composePageUrl ( defaultFile , config . publicServerURL , subdir ) ,
307
+ params
308
+ )
309
309
: this . pageResponse ( path , params , placeholders )
310
310
) ;
311
311
} else {
@@ -535,10 +535,10 @@ export class PagesRouter extends PromiseRouter {
535
535
getDefaultParams ( config ) {
536
536
return config
537
537
? {
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
+ }
542
542
: { } ;
543
543
}
544
544
0 commit comments