flykup_model_development 3.1.26 → 3.1.27

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.
@@ -361,7 +361,7 @@ const orderSchema = new mongoose.Schema(
361
361
  type: String,
362
362
  required: true,
363
363
  unique: true,
364
- default: () => `ORD-${nanoid(8)}`
364
+ default: () => `FLY-ORD-${nanoid(8)}`
365
365
  },
366
366
  userId: {
367
367
  type: mongoose.Schema.Types.ObjectId,
@@ -37,8 +37,8 @@ const ShoppableVideoSchema = new Schema(
37
37
  required: false,
38
38
  trim: true,
39
39
  },
40
- category: { type: String, required: true, trim: false},
41
- subcategory: { type: String, required: true, trim: false },
40
+ category: { type: String, required: false, trim: false},
41
+ subcategory: { type: String, required: false, trim: false },
42
42
  // thumbnailURL might be set initially or updated by the processing service
43
43
  isThumbnailEnabled: {
44
44
  type: Boolean,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flykup_model_development",
3
- "version": "3.1.26",
3
+ "version": "3.1.27",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "private": false,