@yomotech/view-toolkit 0.0.36 → 0.0.37
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.
|
@@ -2562,7 +2562,7 @@ class Couchdb {
|
|
|
2562
2562
|
}
|
|
2563
2563
|
async getFileContentFromCouchDb(couchDbName, filePath) {
|
|
2564
2564
|
try {
|
|
2565
|
-
const dbName = couchDbName;
|
|
2565
|
+
const dbName = couchDbName?.toLowerCase();
|
|
2566
2566
|
const docId = filePath?.trim();
|
|
2567
2567
|
if (!docId) {
|
|
2568
2568
|
console.error('Missing file path');
|
|
@@ -2721,7 +2721,7 @@ class Couchdb {
|
|
|
2721
2721
|
}
|
|
2722
2722
|
}
|
|
2723
2723
|
async getImageSrcFromCouchDb(couchDbName, filePath) {
|
|
2724
|
-
const dbName = couchDbName;
|
|
2724
|
+
const dbName = couchDbName?.toLowerCase();
|
|
2725
2725
|
const docId = filePath?.trim();
|
|
2726
2726
|
if (!docId) {
|
|
2727
2727
|
throw new Error('Missing file path');
|