diff --git a/src/services/user.js b/src/services/user.js index 13ec5948..7da7f53b 100644 --- a/src/services/user.js +++ b/src/services/user.js @@ -166,7 +166,8 @@ class User { async getEmailPreferences(userId) { const url = `/users/${userId}/preferences/email`; const res = await this.private.api.get(url); - return getApiResponsePayload(res); + const x = (await res.json()).result; + return x.content; } /**
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: