mirror of
https://github.com/wisplite/tether.git
synced 2026-05-01 06:22:41 -05:00
fix the bugs that were causing mutation response errors, and add duplicate subscription checks
MUTATIONS WORK BTW!!!
This commit is contained in:
@@ -16,6 +16,7 @@ const rl = createInterface({
|
||||
while (true) {
|
||||
const message = await rl.question("Enter a message");
|
||||
if (message) {
|
||||
client.sendMutation("createMessage", { room: "1", message: message });
|
||||
const result = await client.sendMutation("createMessage", { room: "1", message: message });
|
||||
console.log("Mutation result", result);
|
||||
}
|
||||
}
|
||||
Generated
+1
-1
@@ -28,7 +28,7 @@
|
||||
},
|
||||
"node_modules/tether-ts": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "git+ssh://git@github.com/wisplite/tether-ts.git#8945de00ece92ce1e939a3ff70c5312f80e56dda",
|
||||
"resolved": "git+ssh://git@github.com/wisplite/tether-ts.git#82a462ee116789dd6832fe5ff079a63fcb91afc4",
|
||||
"license": "ISC"
|
||||
},
|
||||
"node_modules/typescript": {
|
||||
|
||||
Reference in New Issue
Block a user