Apply suggestions from code review

Co-authored-by: Semisol <45574030+Semisol@users.noreply.github.com>
This commit is contained in:
Landon 2023-03-05 11:02:40 +09:00 committed by GitHub
parent 2bae130c38
commit 980e1326e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

5
69.md
View File

@ -45,12 +45,11 @@ A poll event:
## Zap vote format ## Zap vote format
Poll options are voted on by sending [zap events](57.md) (to the original poll event) which include 1 additional `poll_option` tag within their otherwise standard [json structure](57.md#the-zap-note). Poll options are voted on by sending [zap events](57.md) (to the original poll event) which include 1 additional `poll_option` tag in the zap request event.
Zap vote events (kind `9734` and `9735`): The zap request event (kind `9734`):
* MUST include exactly 1 `poll_option` tag * MUST include exactly 1 `poll_option` tag
* MUST reference the vote option by its corresponding integer `n`, chosen from the original poll event's list of predefined `polling_options` * MUST reference the vote option by its corresponding integer `n`, chosen from the original poll event's list of predefined `polling_options`
* MUST transmit the exact `poll_option` between kind `9734` and `9735`
```json ```json
"tags": [ "tags": [