refactor(routes): Phase 3.3 - standardize notifications.js (explicit deps)

This commit is contained in:
Krystie
2026-03-29 20:06:36 -07:00
parent f6b103aed7
commit e6e788fdce
2 changed files with 32 additions and 22 deletions

View File

@@ -303,7 +303,10 @@ async function createApp() {
fetchT: ctx.fetchT,
credentialManager: ctx.credentialManager
}));
apiRouter.use('/notifications', notificationRoutes(ctx));
apiRouter.use('/notifications', notificationRoutes({
notification: ctx.notification,
asyncHandler: ctx.asyncHandler
}));
apiRouter.use('/containers', containerRoutes({
docker: ctx.docker,
log: ctx.log,