@como/como-client
Advanced tools
Comparing version 0.1.36 to 0.1.37
{ | ||
"name": "@como/como-client", | ||
"version": "0.1.36", | ||
"version": "0.1.37", | ||
"description": "Client module for Como's loaylty API", | ||
@@ -5,0 +5,0 @@ "main": "src/como.js", |
@@ -553,3 +553,7 @@ const moment = require('moment-timezone'); | ||
const { api, locationId } = this.comoData; | ||
const { PublishVersion: version } = this.getLocationState(); | ||
const locationState = this.getLocationState(); | ||
let version = null; | ||
if(locationState){ | ||
version = locationState.PublishVersion; | ||
} | ||
@@ -556,0 +560,0 @@ return api.getConfiguration(type, locationId, version); |
Sorry, the diff of this file is too big to display
185677
4035