Skip to content

Commit

Permalink
docs(rpc): was already an object
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanabaroa committed Oct 4, 2024
1 parent 4cb0e9e commit 0c62947
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/rpc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,8 @@ Publish a comment and subscribe to receive notifications of the challenge pubsub
"type": "ed25519",
"signedPropertyNames": ["title", "content", "author"]
}
}
},
"challengeAnswers": ["some answer"]
}]
}
```
Expand All @@ -314,13 +315,11 @@ The notification format is the same as seen in the plebbit-js [Comment Events](h
"method": "publishCommentNotification",
"params": {
"result": {
"challenges": {
"type": "CHALLENGE",
"challenges": [
{"type": "text/plain", "challenge": "2+2"},
{"type": "text/plain", "challenge": "5+5"}
]
}
"type": "CHALLENGE",
"challenges": [
{"type": "text/plain", "challenge": "2+2"},
{"type": "text/plain", "challenge": "5+5"}
]
},
"event": "challenge",
"subscription": 23784
Expand Down

0 comments on commit 0c62947

Please sign in to comment.