Skip to content

Commit

Permalink
fix: upgrade to version 32 of the web api (#129)
Browse files Browse the repository at this point in the history
* Extract map id from web api response

* Extract uid from response

* Update fixtures with /api/32/

* Revert changes moved to a separate PR
  • Loading branch information
turban authored and amcgee committed Apr 24, 2019
1 parent 81f50ba commit 0b44b02
Show file tree
Hide file tree
Showing 7 changed files with 1,027 additions and 1,027 deletions.
482 changes: 241 additions & 241 deletions cypress/fixtures/boundarylayer.json

Large diffs are not rendered by default.

66 changes: 33 additions & 33 deletions cypress/fixtures/eventlayer.json

Large diffs are not rendered by default.

510 changes: 255 additions & 255 deletions cypress/fixtures/facilitylayer.json

Large diffs are not rendered by default.

440 changes: 220 additions & 220 deletions cypress/fixtures/smoke.json

Large diffs are not rendered by default.

552 changes: 276 additions & 276 deletions cypress/fixtures/thematiclayer.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/app.js
Expand Up @@ -32,7 +32,7 @@ getManifest('manifest.webapp')
: DHIS_CONFIG.baseUrl;

config.appUrl = baseUrl; // Base url for switching between apps
config.baseUrl = `${baseUrl}/api/31`; // Base url for Web API requests
config.baseUrl = `${baseUrl}/api/32`; // Base url for Web API requests

config.context = manifest.activities.dhis; // Added temporarily for util/api.js

Expand Down
2 changes: 1 addition & 1 deletion src/map.js
Expand Up @@ -16,7 +16,7 @@ import { translateConfig } from './util/favorites';
import { defaultBasemaps } from './constants/basemaps';
import { version } from '../package.json'; // TODO: Remove version logging

const apiVersion = 31;
const apiVersion = 32;

log.info(`Maps plugin: ${version}`); // TODO: Remove version logging

Expand Down

0 comments on commit 0b44b02

Please sign in to comment.