mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 05:02:25 -05:00
[bugfix] Always serialize orderedItems as array (#1673)
This commit is contained in:
parent
8d2a76c58c
commit
4f322f527f
4 changed files with 77 additions and 7 deletions
|
|
@ -236,13 +236,15 @@ Example of a featured collection of a user who has pinned multiple `Note`s:
|
|||
}
|
||||
```
|
||||
|
||||
Example of a user who has pinned one `Note` (`orderedItems` is just a URL string now!):
|
||||
Example of a user who has pinned one `Note`:
|
||||
|
||||
```json
|
||||
{
|
||||
"@context": "https://www.w3.org/ns/activitystreams",
|
||||
"id": "https://example.org/users/some_user/collections/featured",
|
||||
"orderedItems": "https://example.org/users/some_user/statuses/01GS7VTYH0S77NNXTP6W4G9EAG",
|
||||
"orderedItems": [
|
||||
"https://example.org/users/some_user/statuses/01GS7VTYH0S77NNXTP6W4G9EAG"
|
||||
],
|
||||
"totalItems": 1,
|
||||
"type": "OrderedCollection"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue