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 };