From ec6e700d331d6d93e727a69c3091d687b172996a Mon Sep 17 00:00:00 2001 From: blagoev Date: Fri, 22 Sep 2017 20:10:04 +0300 Subject: [PATCH] fix retrieveAccount endpoint --- lib/user-methods.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/user-methods.js b/lib/user-methods.js index 7296474b..d296f988 100644 --- a/lib/user-methods.js +++ b/lib/user-methods.js @@ -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 };