@dataforsyningen/saul 3.3.4 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/modules/api.js +1 -1
- package/package.json +1 -1
package/modules/api.js
CHANGED
|
@@ -160,7 +160,7 @@ function post(url, requestbody, token) {
|
|
|
160
160
|
*/
|
|
161
161
|
function getDHM(query, auth) {
|
|
162
162
|
const auth_params = `&username=${auth.API_DHM_TOKENA}&password=${auth.API_DHM_TOKENB}`
|
|
163
|
-
return get(encodeURI(auth.API_DHM_BASEURL + query + auth_params))
|
|
163
|
+
return get(encodeURI(auth.API_DHM_BASEURL + query + auth_params), {cache: 'force-cache'})
|
|
164
164
|
.then((data) => data)
|
|
165
165
|
}
|
|
166
166
|
|
package/package.json
CHANGED