fix: megalodon posting to incorrect url
This commit is contained in:
parent
b569ac911e
commit
c18c823c95
@ -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 New Issue
Block a user