mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-28 21:08:52 -07:00
[mastodon-client] Fix timeline helper function
This commit is contained in:
parent
a3722d2dce
commit
137ede02ce
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ export function argsToBools(q: ParsedUrlQuery, additional: string[] = []) {
|
||||||
// - https://docs.joinmastodon.org/methods/accounts/#statuses
|
// - https://docs.joinmastodon.org/methods/accounts/#statuses
|
||||||
// - https://docs.joinmastodon.org/methods/timelines/#public
|
// - https://docs.joinmastodon.org/methods/timelines/#public
|
||||||
// - https://docs.joinmastodon.org/methods/timelines/#tag
|
// - https://docs.joinmastodon.org/methods/timelines/#tag
|
||||||
let keys = ['only_media', 'exclude_replies', 'exclude_reblogs', 'pinned', 'local', 'remote']
|
let keys = ['only_media', 'exclude_replies', 'exclude_reblogs', 'pinned', 'local', 'remote'].concat(additional);
|
||||||
let object: any = q;
|
let object: any = q;
|
||||||
|
|
||||||
for (const key of keys)
|
for (const key of keys)
|
||||||
|
|
Loading…
Reference in a new issue