@cocreate/crud-server 1.36.2 → 1.36.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 +15 -0
- package/package.json +1 -9
- package/src/index.js +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## [1.36.4](https://github.com/CoCreate-app/CoCreate-crud-server/compare/v1.36.3...v1.36.4) (2025-10-08)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* improve error handling for organization retrieval when host is provided ([aaeae7a](https://github.com/CoCreate-app/CoCreate-crud-server/commit/aaeae7a3e7af2fc3039275e4cb480e31686521bb))
|
|
7
|
+
|
|
8
|
+
## [1.36.3](https://github.com/CoCreate-app/CoCreate-crud-server/compare/v1.36.2...v1.36.3) (2025-09-01)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* ensure organization is set in hosts when host is provided by platform only ([96cc9e6](https://github.com/CoCreate-app/CoCreate-crud-server/commit/96cc9e69a639c1ecd206324a3e43c578b11e4566))
|
|
14
|
+
* return organization object when host is provided ([0fd5870](https://github.com/CoCreate-app/CoCreate-crud-server/commit/0fd58708ca5392b718a920abefc6a21f72eae83c))
|
|
15
|
+
|
|
1
16
|
## [1.36.2](https://github.com/CoCreate-app/CoCreate-crud-server/compare/v1.36.1...v1.36.2) (2025-05-01)
|
|
2
17
|
|
|
3
18
|
|
package/package.json
CHANGED
|
@@ -1,18 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/crud-server",
|
|
3
|
-
"version": "1.36.
|
|
3
|
+
"version": "1.36.4",
|
|
4
4
|
"description": "CoCreate-crud-server",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cocreate-crud",
|
|
7
|
-
"cocreate",
|
|
8
|
-
"low-code-framework",
|
|
9
|
-
"no-code-framework",
|
|
10
|
-
"cocreatejs",
|
|
11
|
-
"cocreatejs-component",
|
|
12
|
-
"cocreate-framework",
|
|
13
|
-
"no-code",
|
|
14
7
|
"low-code",
|
|
15
|
-
"collaborative-framework",
|
|
16
8
|
"realtime",
|
|
17
9
|
"realtime-framework",
|
|
18
10
|
"collaboration",
|
package/src/index.js
CHANGED
|
@@ -263,7 +263,11 @@ class CoCreateCrudServer {
|
|
|
263
263
|
this.hosts[data.host] = org.object[0]
|
|
264
264
|
return org.object[0]
|
|
265
265
|
} else {
|
|
266
|
-
|
|
266
|
+
if (data.host) return this.hosts[data.host];
|
|
267
|
+
return {
|
|
268
|
+
serverOrganization: false,
|
|
269
|
+
error: "An organization could not be found in the specified dbUrl"
|
|
270
|
+
};
|
|
267
271
|
}
|
|
268
272
|
} else {
|
|
269
273
|
if (data.host)
|