Skip to content

Commit 97ece93

Browse files
Merge pull request topcoder-platform#53 from rashmi73/issue_2276
Issue 2276 fix
2 parents cf6886e + dba4d70 commit 97ece93

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/services/user.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ class User {
166166
async getEmailPreferences(userId) {
167167
const url = `/users/${userId}/preferences/email`;
168168
const res = await this.private.api.get(url);
169-
return getApiResponsePayload(res);
169+
const x = (await res.json()).result;
170+
return x.content;
170171
}
171172

172173
/**

0 commit comments

Comments
 (0)
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