Comparing version 1.0.12 to 1.0.13
{ | ||
"name": "wapp-api", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"description": "Helper functions to speed up wapp development process.", | ||
@@ -5,0 +5,0 @@ "main": "wappsto/index.js", |
@@ -99,3 +99,2 @@ const Request = require('../models/request'); | ||
callStatusChange.call(context, options, STATUS.ACCEPTED, context, response); | ||
resolve(response); | ||
context.on("response:handled", () => { | ||
@@ -106,6 +105,6 @@ if(options.subscribe === true && this._wStream){ | ||
}); | ||
resolve(response); | ||
} | ||
} else { | ||
callStatusChange.call(context, options, STATUS.ACCEPTED); | ||
resolve(response); | ||
context.on("response:handled", () => { | ||
@@ -116,2 +115,3 @@ if(options.subscribe === true && this._wStream){ | ||
}); | ||
resolve(response); | ||
} | ||
@@ -118,0 +118,0 @@ } |
Sorry, the diff of this file is too big to display