The urls of the http requests for questionniares are formatted in a way that the user's language is the suffix of the url. (eg: phq8_armt_en.json). However, in the definitions repository, the default English questionnaires do not have the language suffix. This removes the unnecessary requests to non-existing files.
Also stores the githubFetchStrategy and uses this value instead of reading from the remote config every time a request is made
phq8_armt_en.json
). However, in the definitions repository, the default English questionnaires do not have the language suffix. This removes the unnecessary requests to non-existing files.githubFetchStrategy
and uses this value instead of reading from the remote config every time a request is made