Skip to content

Commit e3ad9e0

Browse files
committed
fix: applied host to define environment/branch
1 parent 5418c06 commit e3ad9e0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ class CoCreateFileSystem {
7777

7878
let data = {
7979
method: 'object.read',
80+
host: hostname,
8081
array: 'files',
8182
$filter: {
8283
query: [
@@ -112,6 +113,7 @@ class CoCreateFileSystem {
112113
else {
113114
let fileSrc = await crud.send({
114115
method: 'object.read',
116+
host: hostname,
115117
array: file['array'],
116118
object: {
117119
_id: file._id
@@ -200,6 +202,7 @@ class CoCreateFileSystem {
200202

201203
crud.send({
202204
method: 'object.create',
205+
host: hostname,
203206
array: 'files',
204207
object: defaultFile.object[0],
205208
organization_id

0 commit comments

Comments
 (0)