mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-26 23:03:09 +02:00
fix: megalodon posting to incorrect url
This commit is contained in:
parent
b569ac911e
commit
c18c823c95
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ export default class Misskey implements MegalodonInterface {
|
|||
}
|
||||
}
|
||||
}
|
||||
return this.client.post<MisskeyAPI.Entity.UserDetail>('/api/i', params).then(res => {
|
||||
return this.client.post<MisskeyAPI.Entity.UserDetail>('/api/i/update', params).then(res => {
|
||||
return Object.assign(res, {
|
||||
data: MisskeyAPI.Converter.userDetail(res.data)
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue