We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fcb424 commit 953c3faCopy full SHA for 953c3fa
src/server.js
@@ -17,12 +17,14 @@ class CoCreateUser {
17
try {
18
if (data.user) {
19
data.user.method = 'object.create'
20
+ data.user.host = data.host
21
const response = await this.crud.send(data.user)
22
this.wsManager.send(response);
23
}
24
25
if (data.userKey) {
26
data.userKey.method = 'object.create'
27
+ data.userKey.host = data.host
28
const response = await this.crud.send(data.userKey)
29
30
@@ -55,6 +57,7 @@ class CoCreateUser {
55
57
this.crud.send(data).then(async (data) => {
56
58
let response = {
59
socket,
60
+ host: data.host,
61
method: 'signIn',
62
success: false,
63
message: "signIn failed",
0 commit comments