Remove optional param from new permission route (#3548)

This commit is contained in:
Jon Koops 2022-10-11 11:31:05 +02:00 committed by GitHub
parent 6f1d736421
commit d75753aa0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ export const NewPermissionRoute: RouteDef = {
export const NewPermissionWithSelectedIdRoute: RouteDef = {
...NewPermissionRoute,
path: "/:realm/clients/:id/authorization/permission/new/:permissionType/:selectedId?",
path: "/:realm/clients/:id/authorization/permission/new/:permissionType/:selectedId",
};
export const toNewPermission = (params: NewPermissionParams): Partial<Path> => {