godprotocol 1.2.34 → 1.2.36
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/Objects/Oracle.js +2 -1
- package/package.json +1 -1
package/Objects/Oracle.js
CHANGED
|
@@ -53,7 +53,7 @@ class Oracle_client {
|
|
|
53
53
|
method: "read",
|
|
54
54
|
args: { path },
|
|
55
55
|
});
|
|
56
|
-
content = response.content;
|
|
56
|
+
content = response && response.content;
|
|
57
57
|
if (content) {
|
|
58
58
|
repo = response.repo;
|
|
59
59
|
repo = await this.cloth_repo(repo);
|
|
@@ -130,6 +130,7 @@ class Oracle_client {
|
|
|
130
130
|
client: this.client,
|
|
131
131
|
},
|
|
132
132
|
});
|
|
133
|
+
if (!auth) return;
|
|
133
134
|
console.log("Oracle authenticated:", auth);
|
|
134
135
|
|
|
135
136
|
if (auth.token) {
|
package/package.json
CHANGED