@como/como-client
Advanced tools
Comparing version 0.7.83 to 0.7.84
@@ -46,3 +46,3 @@ 'use strict'; | ||
}); | ||
return _context.abrupt('return', { toReturn: toReturn, tempTokenData: tempTokenData }); | ||
return _context.abrupt('return', { translatedUrl: toReturn, tempTokenData: tempTokenData }); | ||
@@ -49,0 +49,0 @@ case 10: |
{ | ||
"name": "@como/como-client", | ||
"version": "0.7.83", | ||
"version": "0.7.84", | ||
"description": "Client module for Como's loaylty API", | ||
@@ -5,0 +5,0 @@ "main": "src/como.js", |
@@ -208,3 +208,3 @@ const moment = require('moment-timezone'); | ||
} | ||
return translatedData; | ||
return translatedData && translatedData.translatedUrl && translatedData.translatedUrl.length ? translatedData.translatedUrl : ''; | ||
} | ||
@@ -211,0 +211,0 @@ |
Sorry, the diff of this file is too big to display
227040