@vasrefil/api-toolkit 1.0.32 → 1.0.33

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.
@@ -123,7 +123,7 @@ class Redis_ {
123
123
  const keyData = await this.get_item(key);
124
124
  if (!keyData)
125
125
  throw { message: `${key} does not exisit` };
126
- const updatedData = { ...keyData, value };
126
+ const updatedData = { ...keyData, ...value };
127
127
  const resp = await this.client.set(key, JSON.stringify(updatedData));
128
128
  return resp;
129
129
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vasrefil/api-toolkit",
3
3
  "description": "This is Vasrefil API toolkit",
4
- "version": "1.0.32",
4
+ "version": "1.0.33",
5
5
  "author": "Sodiq Alabi",
6
6
  "main": "dist/public-api.js",
7
7
  "types": "dist/public-api.d.ts",