@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.
Files changed (2) hide show
  1. package/lib/users.js +1 -1
  2. 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: { ...data } } : data,
546
+ data: category ? { category: data } : data,
547
547
  userId: userId,
548
548
  });
549
549
  let confirmationRequest = client.post("api/v1/users/user", requestData, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackfactor/client-api",
3
- "version": "1.0.82",
3
+ "version": "1.0.83",
4
4
  "description": "Node.js library for the StackFactor API",
5
5
  "main": "index.js",
6
6
  "exports": {