Skip to content

Commit

Permalink
Fix grouping label for endpoint nav
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov authored May 18, 2023
2 parents eac5243 + c16c50b commit 2b7de47
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/services/controller/controller.parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ export function parseControllers(paths: string[]) {

if (controllerName.endsWith("saml.controller.ee.ts")) continue; // uses enums, skip for now

if (!controllerName.startsWith("/")) {
if (
!controllerName.startsWith("/") &&
!controllerName.startsWith("group:")
) {
// n8n-hosted-backend does not use leading slash so prepend it
controllerName = "/" + controllerName;
}

Expand Down

0 comments on commit 2b7de47

Please sign in to comment.