We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29f214c commit e49d4ccCopy full SHA for e49d4cc
src/common/helper.js
@@ -162,7 +162,8 @@ async function getMemberInfoById (id) {
162
* @returns {Promise<void>}
163
*/
164
async function getMemberById (id) {
165
- const res = await getRequest(`${config.MEMBER_API_URL}?userId=${id}`)
+ const res = await getRequest(`${config.MEMBER_API_URL}`, { userId: id })
166
+ console.log(res.data)
167
return _.get(res, 'data[0]')
168
}
169
0 commit comments