ywana-core8 0.0.583 → 0.0.584

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.
package/dist/index.cjs CHANGED
@@ -79,7 +79,7 @@ var fetchAsync = function fetchAsync(method, URL, body, token, headers) {
79
79
  return Promise.resolve(error.json()).then(function (json) {
80
80
  throw {
81
81
  success: false,
82
- message: json.message
82
+ message: json.message || json.err
83
83
  };
84
84
  });
85
85
  }));