parent
74024dd5a9
commit
b2097d33d3
|
@ -55,7 +55,7 @@ export function getTimeline (instanceName, accessToken, timeline, maxId, since)
|
||||||
|
|
||||||
if (timeline.startsWith('status/')) {
|
if (timeline.startsWith('status/')) {
|
||||||
// special case - this is a list of descendents and ancestors
|
// 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([
|
return Promise.all([
|
||||||
getWithTimeout(url, auth(accessToken)),
|
getWithTimeout(url, auth(accessToken)),
|
||||||
getWithTimeout(statusUrl, auth(accessToken))
|
getWithTimeout(statusUrl, auth(accessToken))
|
||||||
|
|
Loading…
Reference in New Issue