Skip to content

Commit

Permalink
Update useProjectSlugEntity.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepa-kv-jois authored Aug 16, 2024
1 parent eefda77 commit 86af4f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/harness-ci-cd/src/hooks/useProjectSlugEntity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const useProjectSlugFromEntity = (
);

serviceUrlMatch = match(
'(.*)/account/:accountId/module/:module/orgs/:orgId/projects/:projectId/services/:serviced?(.*)',
'(.*)/account/:accountId/module/:module/orgs/:orgId/projects/:projectId/services/:serviceId?(.*)',
{
decode: decodeURIComponent,
},
Expand All @@ -45,7 +45,7 @@ export const useProjectSlugFromEntity = (
);

serviceUrlMatch = match(
'(.*)/account/:accountId/all/orgs/:orgId/projects/:projectId/services/:serviced?(.*)',
'(.*)/account/:accountId/all/orgs/:orgId/projects/:projectId/services/:serviceId?(.*)',
{
decode: decodeURIComponent,
},
Expand All @@ -59,7 +59,7 @@ export const useProjectSlugFromEntity = (
);

serviceUrlMatch = match(
'(.*)/account/:accountId/:module/orgs/:orgId/projects/:projectId/services/:serviced?(.*)',
'(.*)/account/:accountId/:module/orgs/:orgId/projects/:projectId/services/:serviceId?(.*)',
{
decode: decodeURIComponent,
},
Expand Down

0 comments on commit 86af4f6

Please sign in to comment.