@dataforsyningen/saul 3.3.2 → 3.3.3

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.
Files changed (2) hide show
  1. package/modules/api.js +1 -1
  2. package/package.json +1 -1
package/modules/api.js CHANGED
@@ -171,7 +171,7 @@ function getDHM(query, auth) {
171
171
  * @returns {object} Response data
172
172
  */
173
173
  function getSTAC(query, auth) {
174
- return get(auth.API_STAC_BASEURL + query, {headers: {'token': auth.API_STAC_TOKEN}})
174
+ return get(auth.API_STAC_BASEURL + query + '&token=' + auth.API_STAC_TOKEN)
175
175
  .then((data) => data)
176
176
  }
177
177
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataforsyningen/saul",
3
- "version": "3.3.2",
3
+ "version": "3.3.3",
4
4
  "description": "This is a collection of stand-alone methods for photogrammetry calculations and API interactions for 'Danske Skråfotos'.",
5
5
  "main": "index.js",
6
6
  "type": "module",