NIP-26: fixing typo in conditions query string section

This commit is contained in:
Zack Wynne 2023-01-27 11:47:54 -07:00 committed by fiatjaf
parent 524ff9b805
commit 3b1cd96798

6
26.md
View File

@ -38,11 +38,11 @@ The following fields and operators are supported in the above query string:
*Fields*: *Fields*:
1. `kind` 1. `kind`
- *Operators*: - *Operators*:
- `=${KIND_NUMBER}` - delegator may only sign events of this kind - `=${KIND_NUMBER}` - delegatee may only sign events of this kind
2. `created_at` 2. `created_at`
- *Operators*: - *Operators*:
- `<${TIMESTAMP}` - delegator may only sign events created ***before*** the specified timestamp - `<${TIMESTAMP}` - delegatee may only sign events created ***before*** the specified timestamp
- `>${TIMESTAMP}` - delegator may only sign events created ***after*** the specified timestamp - `>${TIMESTAMP}` - delegatee may only sign events created ***after*** the specified timestamp
In order to create a single condition, you must use a supported field and operator. Multiple conditions can be used in a single query string, including on the same field. Conditions must be combined with `&`. In order to create a single condition, you must use a supported field and operator. Multiple conditions can be used in a single query string, including on the same field. Conditions must be combined with `&`.