@cocreate/file-server 1.0.4 → 1.0.5

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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.0.5](https://github.com/CoCreate-app/CoCreate-file-server/compare/v1.0.4...v1.0.5) (2022-12-04)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * crud return _id as object ([629dd6f](https://github.com/CoCreate-app/CoCreate-file-server/commit/629dd6f9aabf17ba2b41124df9b214768b07508c))
7
+
1
8
  ## [1.0.4](https://github.com/CoCreate-app/CoCreate-file-server/compare/v1.0.3...v1.0.4) (2022-12-04)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/file-server",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "A simple file-server component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "file-server",
package/src/index.js CHANGED
@@ -33,12 +33,9 @@ class CoCreateFileSystem {
33
33
  })
34
34
  if (!organization || !organization.document[0])
35
35
  return res.send('Organization cannot be found using the domain: ' + hostname + ' in platformDB: ' + masterOrg);
36
-
37
- console.log('file-server-----????', organization.document[0], organization_id, organization_id)
38
-
36
+
39
37
  organization_id = organization.document[0]._id
40
38
  }
41
- console.log('file-server-----????', organization_id)
42
39
 
43
40
  let [url, parameters] = req.url.split("?");
44
41
  if (parameters){}