diff options
| author | Mike Dilger <mike@mikedilger.com> | 2023-01-14 09:59:19 +1300 |
|---|---|---|
| committer | fiatjaf <fiatjaf@gmail.com> | 2023-01-18 09:42:32 -0300 |
| commit | 8b18e7818e0c2fcbd8bc82e0660f8b6ba23af50d (patch) | |
| tree | ce2c29ca90f41a581f6929529716c769e4ca43a8 /03.md | |
| parent | 1840c5cbdf37635fcada6434e91e9a47b0251d91 (diff) | |
Several NIP examples (3, 11) weren't quoting the field keys (JSON keys must be quoted)
Diffstat (limited to '03.md')
| -rw-r--r-- | 03.md | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -10,11 +10,11 @@ When there is an OTS available it MAY be included in the existing event body und | |||
| 10 | 10 | ||
| 11 | ``` | 11 | ``` |
| 12 | { | 12 | { |
| 13 | id: ..., | 13 | "id": ..., |
| 14 | kind: ..., | 14 | "kind": ..., |
| 15 | ..., | 15 | ..., |
| 16 | ..., | 16 | ..., |
| 17 | ots: <base64-encoded OTS file data> | 17 | "ots": <base64-encoded OTS file data> |
| 18 | } | 18 | } |
| 19 | ``` | 19 | ``` |
| 20 | 20 | ||