Updated HashtagTimeline to not take in multiple tags

• Updated:
- HashtagTimeline to not take in multiple tags
This commit is contained in:
mgabdev
2021-01-13 18:10:39 -05:00
parent 8aeae9c45d
commit e754c6219b
2 changed files with 9 additions and 69 deletions

View File

@@ -336,11 +336,8 @@ export const expandLinkTimeline = (linkId, { maxId } = {}, done = noop) => {
/**
*
*/
export const expandHashtagTimeline = (hashtag, { maxId, tags } = {}, done = noop) => {
export const expandHashtagTimeline = (hashtag, { maxId } = {}, done = noop) => {
return expandTimeline(`hashtag:${hashtag}`, `/api/v1/timelines/tag/${hashtag}`, {
max_id: maxId,
any: parseTags(tags, 'any'),
all: parseTags(tags, 'all'),
none: parseTags(tags, 'none'),
}, done)
}