@stackfactor/client-api 1.0.82 → 1.0.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/users.js +1 -1
- package/package.json +1 -1
package/lib/users.js
CHANGED
|
@@ -543,7 +543,7 @@ export const sendPasswordResetNotification = (email) => {
|
|
|
543
543
|
export const setUserInformation = (userId, category, data, token) => {
|
|
544
544
|
return new Promise(function (resolve, reject) {
|
|
545
545
|
const requestData = removeNullProperties({
|
|
546
|
-
data: category ? { category:
|
|
546
|
+
data: category ? { category: data } : data,
|
|
547
547
|
userId: userId,
|
|
548
548
|
});
|
|
549
549
|
let confirmationRequest = client.post("api/v1/users/user", requestData, {
|