From dba4d704af0f5240307124c960805f7dcfe1a931 Mon Sep 17 00:00:00 2001 From: rashmi73 <41687423+rashmi73@users.noreply.github.com> Date: Sat, 30 Mar 2019 17:15:59 +0530 Subject: [PATCH] Update user.js --- src/services/user.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } /** pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

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:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy