Skip to content

Commit

Permalink
Merge branch 'feature/new-gpf-url' into release-3.4.0-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
elias75015 committed Sep 21, 2023
2 parents 4d50a92 + 0ea7467 commit 16d7be3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Services/Config/Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ function Config (options) {
throw new Error(_.getMessage("PARAM_MISSING", "onSuccess()"));
}
if (!options.apiKey && !options.customConfigFile) {
throw new Error(_.getMessage("PARAM_MISSING", "apiKey", "customConfigFile"));
// si pas de thème spécifié, on récupère toutes les ressources possibles dans l'objet Config
options.apiKey = "full";
}
this.options = {};
this.options.onSuccess = options.onSuccess;
Expand Down

0 comments on commit 16d7be3

Please sign in to comment.