test fix topping route
This commit is contained in:
parent
adefe31090
commit
0d24907e9f
2 changed files with 1 additions and 9 deletions
|
|
@ -73,7 +73,7 @@ const loginGuard: CanActivateFn = (route: ActivatedRouteSnapshot) => {
|
|||
return true;
|
||||
}
|
||||
// redirect to redirectUrl query param
|
||||
console.log(route.queryParams['redirectUrl']);
|
||||
console.log("redirectURL", route.queryParams['redirectUrl']);
|
||||
return router.createUrlTree([
|
||||
router.parseUrl(route.queryParams['redirectUrl'] ?? 'departments'),
|
||||
]);
|
||||
|
|
|
|||
|
|
@ -67,10 +67,6 @@ export class ToppingService {
|
|||
return this._httpClient.get<ToppingGroup[]>(
|
||||
`${environment.api}/toppings/groups/${country}/${filename}`,
|
||||
{
|
||||
params:{
|
||||
country: country,
|
||||
filename: filename
|
||||
},
|
||||
withCredentials: true,
|
||||
}
|
||||
);
|
||||
|
|
@ -87,10 +83,6 @@ export class ToppingService {
|
|||
return this._httpClient.get<ToppingList[]>(
|
||||
`${environment.api}/toppings/lists/${country}/${filename}`,
|
||||
{
|
||||
params:{
|
||||
country: country,
|
||||
filename: filename
|
||||
},
|
||||
withCredentials: true,
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue