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, {
|
return Object.assign(res, {
|
||||||
data: MisskeyAPI.Converter.userDetail(res.data)
|
data: MisskeyAPI.Converter.userDetail(res.data)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue