ouisys-engine 2.1.72 → 2.1.73
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.
|
@@ -468,7 +468,7 @@ function _submitPIN() {
|
|
|
468
468
|
|
|
469
469
|
isAlreadySubscribed = pinResult.message == "ALREADY SUBSCRIBED" ? true : false;
|
|
470
470
|
return _context6.abrupt("return", {
|
|
471
|
-
productUrl:
|
|
471
|
+
productUrl: checkResult.product_url || null,
|
|
472
472
|
isAlreadySubscribed: isAlreadySubscribed
|
|
473
473
|
});
|
|
474
474
|
|
package/package.json
CHANGED
|
@@ -189,7 +189,7 @@ export async function submitPIN(window:Window, pin: string, config:IConfig, extr
|
|
|
189
189
|
)
|
|
190
190
|
if(true === checkResult.success) {
|
|
191
191
|
const isAlreadySubscribed = (pinResult.message == "ALREADY SUBSCRIBED") ? true : false;
|
|
192
|
-
return {productUrl:
|
|
192
|
+
return {productUrl:checkResult.product_url || null, isAlreadySubscribed}
|
|
193
193
|
} else {
|
|
194
194
|
const pinError = new Error(`Error in submitMSISDN() verify-pin action:\n${checkResult.message}`) as IError & {type:string}
|
|
195
195
|
pinError['type'] = "InvalidPIN";
|