@cocreate/acme 1.2.3 → 1.2.4
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/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/index.js +1 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.2.4](https://github.com/CoCreate-app/CoCreate-acme/compare/v1.2.3...v1.2.4) (2024-01-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* removed getHost ([3d58b30](https://github.com/CoCreate-app/CoCreate-acme/commit/3d58b3046f2444b76c9ce6a3f5dd78c6a17d3ca6))
|
|
7
|
+
|
|
1
8
|
## [1.2.3](https://github.com/CoCreate-app/CoCreate-acme/compare/v1.2.2...v1.2.3) (2024-01-08)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -194,16 +194,7 @@ class CoCreateAcme {
|
|
|
194
194
|
const hostKeyPath = keyPath + host + '/';
|
|
195
195
|
let hostPosition
|
|
196
196
|
|
|
197
|
-
|
|
198
|
-
let org = await this.crud.getHost(host)
|
|
199
|
-
if (org.error)
|
|
200
|
-
// console.log('Organization could not be found');
|
|
201
|
-
return false
|
|
202
|
-
else
|
|
203
|
-
organization_id = org._id
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
let organization = await this.crud.getOrganization(organization_id, false);
|
|
197
|
+
let organization = await this.crud.getOrganization({ host, organization_id });
|
|
207
198
|
if (organization.error)
|
|
208
199
|
return false
|
|
209
200
|
|