parent
74024dd5a9
commit
b2097d33d3
|
@ -55,7 +55,7 @@ export function getTimeline (instanceName, accessToken, timeline, maxId, since)
|
|||
|
||||
if (timeline.startsWith('status/')) {
|
||||
// special case - this is a list of descendents and ancestors
|
||||
let statusUrl = `${basename(instanceName)}/api/v1/statuses/${timeline.split('/').slice(-1)[0]}}`
|
||||
let statusUrl = `${basename(instanceName)}/api/v1/statuses/${timeline.split('/').slice(-1)[0]}`
|
||||
return Promise.all([
|
||||
getWithTimeout(url, auth(accessToken)),
|
||||
getWithTimeout(statusUrl, auth(accessToken))
|
||||
|
|
Loading…
Reference in a new issue