fix(api): add AuthModule import to AgentTemplateModule #690

Merged
jason.woltje merged 1 commits from fix/agent-template-auth-module into main 2026-03-05 22:10:37 +00:00
Owner

Hotfix for production outage - API crash-looping due to missing AuthModule import in AgentTemplateModule.

Error:

Nest can't resolve dependencies of the AuthGuard (?). 
AuthService at index [0] is not available in AgentTemplateModule context.

Impact: Production API is down (0/1 replicas running).

Fix: Import AuthModule in AgentTemplateModule to make AuthService available for AuthGuard.

Hotfix for production outage - API crash-looping due to missing AuthModule import in AgentTemplateModule. **Error:** ``` Nest can't resolve dependencies of the AuthGuard (?). AuthService at index [0] is not available in AgentTemplateModule context. ``` **Impact:** Production API is down (0/1 replicas running). **Fix:** Import AuthModule in AgentTemplateModule to make AuthService available for AuthGuard.
jason.woltje added 1 commit 2026-03-05 22:10:14 +00:00
fix(api): add AuthModule import to AgentTemplateModule
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
d220be6b58
The AgentTemplateController uses AuthGuard which requires AuthService,
but AgentTemplateModule was not importing AuthModule. This caused the
API to crash during dependency resolution.
jason.woltje merged commit 570edef4e5 into main 2026-03-05 22:10:37 +00:00
Sign in to join this conversation.