Skip to content

Commit 580b4ba

Browse files
author
Burhan Yılmaz
committed
fixed live query connection error
1 parent 05f5aa0 commit 580b4ba

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/LiveQuery/RequestSchema.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,8 @@ const connect = {
1818
applicationId: {
1919
type: 'string',
2020
},
21-
javascriptKey: {
22-
type: 'string',
23-
},
24-
masterKey: {
25-
type: 'string',
26-
},
21+
javascriptKey: { oneOf: [{ type: "string" }, { type: "null" }] },
22+
masterKey: { oneOf: [{ type: "string" }, { type: "null" }] },
2723
clientKey: {
2824
type: 'string',
2925
},

0 commit comments

Comments
 (0)