jp-shared 1.0.25 → 1.0.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.
|
@@ -106,6 +106,10 @@ const paymentHistorySchema = new mongoose.Schema(
|
|
|
106
106
|
type: String,
|
|
107
107
|
default: null,
|
|
108
108
|
},
|
|
109
|
+
jobId: {
|
|
110
|
+
type: String,
|
|
111
|
+
required: [true, "Job ID is required"],
|
|
112
|
+
},
|
|
109
113
|
jobOfferDiscountPercentage: {
|
|
110
114
|
type: Number,
|
|
111
115
|
required: function () {
|
|
@@ -42,10 +42,10 @@ const schema = new mongoose.Schema(
|
|
|
42
42
|
// message: "Invalid Plan ID format",
|
|
43
43
|
// },
|
|
44
44
|
// },
|
|
45
|
-
jobId: {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
},
|
|
45
|
+
// jobId: {
|
|
46
|
+
// type: String,
|
|
47
|
+
// required: [true, "Job ID is required"],
|
|
48
|
+
// },
|
|
49
49
|
paymentHistoryId: {
|
|
50
50
|
type: ObjectId,
|
|
51
51
|
required: [true, "Payment History ID is required"],
|