mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-09 19:43:09 +02:00
fix: some timelines not getting proper host
This commit is contained in:
parent
607a3e7427
commit
4abdf6f7a6
1 changed files with 1 additions and 1 deletions
|
@ -1748,7 +1748,7 @@ export default class Misskey implements MegalodonInterface {
|
||||||
}
|
}
|
||||||
return this.client
|
return this.client
|
||||||
.post<Array<MisskeyAPI.Entity.Note>>('/api/notes/user-list-timeline', params)
|
.post<Array<MisskeyAPI.Entity.Note>>('/api/notes/user-list-timeline', params)
|
||||||
.then(res => ({ ...res, data: res.data.map(n => MisskeyAPI.Converter.note(n)) }))
|
.then(res => ({ ...res, data: res.data.map(n => MisskeyAPI.Converter.note(n, this.baseUrl)) }))
|
||||||
}
|
}
|
||||||
|
|
||||||
// ======================================
|
// ======================================
|
||||||
|
|
Loading…
Reference in a new issue