diff options
Diffstat (limited to 'lib/qtsync.js')
-rw-r--r-- | lib/qtsync.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/qtsync.js b/lib/qtsync.js index a287a7172..75dcb43ab 100644 --- a/lib/qtsync.js +++ b/lib/qtsync.js @@ -25,7 +25,8 @@ var QtSyncProvider = function () { }; QtSyncProvider.prototype.send = function (payload) { - return navigator.qt.callMethod(JSON.stringify(payload)); + var result = navigator.qt.callMethod(JSON.stringify(payload)); + return JSON.parse(result); }; module.exports = QtSyncProvider; |