NIP-28 Add missing comma's in tags

This commit is contained in:
thesimplekid 2023-01-22 09:51:36 -05:00 committed by GitHub
parent 69685588f0
commit b58efb08a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

8
28.md
View File

@ -54,7 +54,7 @@ Clients SHOULD use [NIP-10](10.md) marked "e" tags to recommend a relay.
```json ```json
{ {
"content": "{\"name\": \"Updated Demo Channel\", \"about\": \"Updating a test channel.\", \"picture\": \"https://placekitten.com/201/201\"}", "content": "{\"name\": \"Updated Demo Channel\", \"about\": \"Updating a test channel.\", \"picture\": \"https://placekitten.com/201/201\"}",
"tags": [["e", <channel_create_event_id> <relay-url>]], "tags": [["e", <channel_create_event_id>, <relay-url>]],
... ...
} }
``` ```
@ -73,7 +73,7 @@ Root message:
```json ```json
{ {
"content": <string>, "content": <string>,
"tags": [["e", <kind_40_event_id> <relay-url> "root"]], "tags": [["e", <kind_40_event_id>, <relay-url>, "root"]],
... ...
} }
``` ```
@ -84,8 +84,8 @@ Reply to another message:
{ {
"content": <string>, "content": <string>,
"tags": [ "tags": [
["e", <kind_42_event_id> <relay-url> "reply"], ["e", <kind_42_event_id>, <relay-url>, "reply"],
["p", <pubkey> <relay-url>], ["p", <pubkey>, <relay-url>],
... ...
], ],
... ...