This commit is contained in:
payacom
2026-09-03 16:06:02 +03:30
parent 3f416a7a60
commit 90c5f94b57
31 changed files with 3968 additions and 4283 deletions

View File

@@ -93,7 +93,7 @@ const advertisingSchema = new mongoose.Schema({
},
status: {
type: String,
default: "UnderReview",
default: 'UnderReview',
required: false
},
image: {
@@ -157,7 +157,7 @@ const advertisingSchema = new mongoose.Schema({
},
status: {
type: String,
enum: ['pre_payment', 'paid', 'temp_accept', 'accepted', 'rejected', 'expired'],
enum: ['pre_payment', 'paid', 'pending', 'temp_accept', 'accepted', 'rejected', 'expired'],
default: 'pre_payment'
},
payment_status: {