start api routes

This commit is contained in:
counterweight 2025-03-05 16:04:44 +01:00
parent db97f9fd80
commit c923493108
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
3 changed files with 290 additions and 273 deletions

View file

@ -15,6 +15,10 @@ function buildDependencies() {
invitesService,
});
dependencies.webRoutes = webRoutesProvider.provide();
const ApiRoutesProvider = require('./routes/apiRoutes');
const apiRoutesProvider = new ApiRoutesProvider();
dependencies.apiRoutes = apiRoutesProvider.provide();
return dependencies;
}