update: change the type

This commit is contained in:
mahyargdz
2025-05-27 16:43:26 +03:30
parent a771f7e199
commit d24481b598
8 changed files with 384 additions and 207 deletions
+3 -3
View File
@@ -63,9 +63,9 @@ const RepresentationSchema = mongoose.Schema({
// common questions
representation_type: {
type: String,
enum: ['verity', 'panatech', 'both'],
default: 'both'
type: [String],
enum: ['mobile_accessories', 'computer_accessories', 'memory_products', 'car_audio_video', 'home_products'],
default: []
},
know_asanServ_from: {
type: String,