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

Merge branch 'ask-user-to-delete-exercises-on-duplicates' into v6.0

parents e549c7f0 10e7d949
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,8 @@ interface ClientsConfig {
gitlabUrl: string,
gitlabAccountId: number,
gitlabAccountUsername: string,
loginGitlabClientId: string
loginGitlabClientId: string,
exerciseMaxPerAssignment: number
}
......@@ -36,6 +37,10 @@ class ClientsSharedConfig {
filename: string, neededFiles: Array<string>
};
public exercise!: {
maxPerAssignment: number
};
public dockerCompose!: {
projectName: string
};
......@@ -97,6 +102,10 @@ class ClientsSharedConfig {
};
this.login.gitlab.client.id = downloadedConfig.loginGitlabClientId;
this.exercise = {
maxPerAssignment: downloadedConfig.exerciseMaxPerAssignment
};
}
async init(apiUrl: string) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment