Skip to content

Commit 3d85453

Browse files
committed
OneBuild::login returns false on error, bump revision
1 parent 8bd5788 commit 3d85453

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@onehat/data",
3-
"version": "1.15.4",
3+
"version": "1.15.5",
44
"description": "JS data modeling package with adapters for many storage mediums.",
55
"main": "src/index.js",
66
"type": "module",

src/Repository/OneBuild.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ class OneBuildRepository extends AjaxRepository {
322322
const response = result.data;
323323
if (!response.success) {
324324
this.throwError(response.data); // TODO: Fix back-end, so OneBuild submits the error message on response.message, not response.data
325-
return;
325+
return false;
326326
}
327327

328328
const userData = response.data;

0 commit comments

Comments
 (0)