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

Config => Fix readonly bug

parent 51f00ebf
No related branches found
No related tags found
No related merge requests found
Pipeline #38947 passed
...@@ -13,11 +13,11 @@ class Config { ...@@ -13,11 +13,11 @@ class Config {
project: string; resultsVolume: string; resultsDojo: string; resultsExercise: string; project: string; resultsVolume: string; resultsDojo: string; resultsExercise: string;
}; };
public readonly assignment!: { public assignment!: {
name: string; secret: string; name: string; secret: string;
}; };
public readonly dockerhub!: { public dockerhub!: {
repositories: { repositories: {
assignmentChecker: string assignmentChecker: string
} }
...@@ -27,7 +27,7 @@ class Config { ...@@ -27,7 +27,7 @@ class Config {
async init() { async init() {
this.appName = process.env.APP_NAME || ''; this.appName = process.env.APP_NAME || '';
const apiUrl = process.env.API_URL ?? ''; const apiUrl = process.env.API_URL ?? '';
await ClientsSharedConfig.init(apiUrl); await ClientsSharedConfig.init(apiUrl);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment