mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-10 22:36:01 +00:00
fix retrieveAccount endpoint
This commit is contained in:
parent
1a538ffa94
commit
ec6e700d33
@ -276,7 +276,7 @@ const instanceMethods = {
|
||||
retrieveAccount(provider, provider_id) {
|
||||
checkTypes(arguments, ['string', 'string']);
|
||||
const url = url_parse(this.server);
|
||||
url.set('pathname', `/api/providers/${provider}/accounts/${provider_id}`);
|
||||
url.set('pathname', `/auth/users/${provider}/${provider_id}`);
|
||||
const headers = {
|
||||
Authorization: this.token
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user