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…
Reference in New Issue