Skip to content

Commit

Permalink
Merge pull request #1306 from AletheiaFact/hotfix-root-module-order
Browse files Browse the repository at this point in the history
HOTFIX: Root endpoint module order
  • Loading branch information
thesocialdev authored Jul 30, 2024
2 parents 54964f7 + b3c3f1e commit c0233f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ export class AppModule implements NestModule {
SentenceModule,
StatsModule,
ViewModule,
HomeModule,
EmailModule,
SitemapModule,
OryModule,
Expand All @@ -125,6 +124,7 @@ export class AppModule implements NestModule {
VerificationRequestModule,
FeatureFlagModule,
GroupModule,
HomeModule, // Home module must be the last imported module because it contains the root endpoint, may causing some endpoints to be confused as namespace parameters
];
if (options.feature_flag) {
imports.push(
Expand Down

0 comments on commit c0233f3

Please sign in to comment.