Skip to content

Commit 953c3fa

Browse files
committed
fix: applied host to define environment/branch
1 parent 3fcb424 commit 953c3fa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/server.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ class CoCreateUser {
1717
try {
1818
if (data.user) {
1919
data.user.method = 'object.create'
20+
data.user.host = data.host
2021
const response = await this.crud.send(data.user)
2122
this.wsManager.send(response);
2223
}
2324

2425
if (data.userKey) {
2526
data.userKey.method = 'object.create'
27+
data.userKey.host = data.host
2628
const response = await this.crud.send(data.userKey)
2729
this.wsManager.send(response);
2830
}
@@ -55,6 +57,7 @@ class CoCreateUser {
5557
this.crud.send(data).then(async (data) => {
5658
let response = {
5759
socket,
60+
host: data.host,
5861
method: 'signIn',
5962
success: false,
6063
message: "signIn failed",

0 commit comments

Comments
 (0)