Commit 5235e7ea authored by Ivan Tashkinov's avatar Ivan Tashkinov

Removed `with_muted` param usage for user favorites timeline endpoint (it only...

Removed `with_muted` param usage for user favorites timeline endpoint (it only supports pagination params).
parent 1ae89359
Pipeline #26299 passed with stages
in 8 minutes and 50 seconds
......@@ -538,9 +538,11 @@ const fetchTimeline = ({
if (timeline === 'public' || timeline === 'publicAndExternal') {
params.push(['only_media', false])
}
if (timeline !== 'favorites') {
params.push(['with_muted', withMuted])
}
params.push(['limit', 20])
params.push(['with_muted', withMuted])
const queryString = map(params, (param) => `${param[0]}=${param[1]}`).join('&')
url += `?${queryString}`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment