powr-sdk-api 4.8.7 → 4.8.8

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.
@@ -252,6 +252,7 @@ router.put('/update-form/:formName', verifyToken, async (req, res) => {
252
252
  formTitle,
253
253
  formId,
254
254
  description,
255
+ imageUrl,
255
256
  fields
256
257
  } = req.body;
257
258
  if (!(formTitle !== null && formTitle !== void 0 && formTitle.trim()) || !(formId !== null && formId !== void 0 && formId.trim())) {
@@ -282,6 +283,7 @@ router.put('/update-form/:formName', verifyToken, async (req, res) => {
282
283
  formTitle: formTitle.trim(),
283
284
  formId: formId.trim(),
284
285
  description: (description === null || description === void 0 ? void 0 : description.trim()) || '',
286
+ imageUrl: (imageUrl === null || imageUrl === void 0 ? void 0 : imageUrl.trim()) || '',
285
287
  fields,
286
288
  updatedAt: new Date()
287
289
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "powr-sdk-api",
3
- "version": "4.8.7",
3
+ "version": "4.8.8",
4
4
  "description": "Shared API core library for PowrStack projects. Zero dependencies - works with Express, Next.js API routes, and other frameworks. All features are optional and install only what you need.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",