godprotocol 2.3.65 → 2.3.66
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/package.json
CHANGED
|
@@ -155,6 +155,7 @@ class Services {
|
|
|
155
155
|
|
|
156
156
|
version_db = async (ver) => {
|
|
157
157
|
let version = await this.get_version(ver);
|
|
158
|
+
|
|
158
159
|
if (!version) {
|
|
159
160
|
let vers = Object.keys(this.versions);
|
|
160
161
|
|
|
@@ -170,7 +171,7 @@ class Services {
|
|
|
170
171
|
return;
|
|
171
172
|
}
|
|
172
173
|
|
|
173
|
-
let db = await this.platform_db();
|
|
174
|
+
let db = await this.platform_db(version?.db_name);
|
|
174
175
|
|
|
175
176
|
return db;
|
|
176
177
|
};
|