Skip to content

Commit

Permalink
NIP-28 Add missing comma's in tags
Browse files Browse the repository at this point in the history
  • Loading branch information
thesimplekid committed Jan 22, 2023
1 parent 6968558 commit b58efb0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions 28.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Clients SHOULD use [NIP-10](10.md) marked "e" tags to recommend a relay.
```json
{
"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>]],
...
}
```
Expand All @@ -73,7 +73,7 @@ Root message:
```json
{
"content": <string>,
"tags": [["e", <kind_40_event_id> <relay-url> "root"]],
"tags": [["e", <kind_40_event_id>, <relay-url>, "root"]],
...
}
```
Expand All @@ -84,8 +84,8 @@ Reply to another message:
{
"content": <string>,
"tags": [
["e", <kind_42_event_id> <relay-url> "reply"],
["p", <pubkey> <relay-url>],
["e", <kind_42_event_id>, <relay-url>, "reply"],
["p", <pubkey>, <relay-url>],
...
],
...
Expand Down

0 comments on commit b58efb0

Please sign in to comment.