Skip to content
Snippets Groups Projects
Commit 9d7b90b7 authored by michael.minelli's avatar michael.minelli
Browse files

GlobalRoutes => ClientsConfig: Add max exercises per assignment information

parent c0f02b1a
Branches
Tags
No related merge requests found
Checking pipeline status
...@@ -23,10 +23,11 @@ class BaseRoutes implements RoutesManager { ...@@ -23,10 +23,11 @@ class BaseRoutes implements RoutesManager {
private async clientsConfig(req: express.Request, res: express.Response) { private async clientsConfig(req: express.Request, res: express.Response) {
return req.session.sendResponse(res, StatusCodes.OK, { return req.session.sendResponse(res, StatusCodes.OK, {
gitlabUrl : Config.gitlab.url, gitlabUrl : Config.gitlab.url,
gitlabAccountId : Config.gitlab.account.id, gitlabAccountId : Config.gitlab.account.id,
gitlabAccountUsername: Config.gitlab.account.username, gitlabAccountUsername : Config.gitlab.account.username,
loginGitlabClientId : Config.login.gitlab.client.id loginGitlabClientId : Config.login.gitlab.client.id,
exerciseMaxPerAssignment: Config.exercise.maxPerAssignment
}); });
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment