fix retrieveAccount endpoint

This commit is contained in:
blagoev 2017-09-22 20:10:04 +03:00
parent 1a538ffa94
commit ec6e700d33
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ const instanceMethods = {
retrieveAccount(provider, provider_id) { retrieveAccount(provider, provider_id) {
checkTypes(arguments, ['string', 'string']); checkTypes(arguments, ['string', 'string']);
const url = url_parse(this.server); 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 = { const headers = {
Authorization: this.token Authorization: this.token
}; };