@yomotech/view-toolkit 0.0.52 → 0.0.53
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.
|
@@ -896,9 +896,12 @@ class Couchdb {
|
|
|
896
896
|
throw new Error(`GET /tenant-dbs -> ${response.status} ` +
|
|
897
897
|
`${this.stringifyErrorDetails(data)}`);
|
|
898
898
|
}
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
899
|
+
console.log('data: ', data);
|
|
900
|
+
// if (!Array.isArray(data) || !Array.isArray(data.databases)) {
|
|
901
|
+
// throw new Error(
|
|
902
|
+
// `Invalid /tenant-dbs response: ${this.stringifyErrorDetails(data)}`
|
|
903
|
+
// );
|
|
904
|
+
// }
|
|
902
905
|
return data;
|
|
903
906
|
}
|
|
904
907
|
async getFileContentFromCouchDb(couchDbName, filePath) {
|