From 259a3640dd26a23c7b21544d42d04325445274e4 Mon Sep 17 00:00:00 2001 From: Bhaskara Kishore Date: Thu, 4 May 2023 11:27:30 +0530 Subject: [PATCH] changes --- src/models/tankers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/models/tankers.js b/src/models/tankers.js index e78af467..297c6cb4 100644 --- a/src/models/tankers.js +++ b/src/models/tankers.js @@ -16,8 +16,8 @@ const tankersSchema = new mongoose.Schema({ tankerName: { type: String, default: null }, phoneNumber: { type: String, default: null }, alternative_phoneNumber: { type: String, default: null }, - typeofwater: [{ typeofwater: String}], - price:[{ price: String}], + typeofwater: { type: String, default: null }, + price:{ type: String, default: null }, capacity: { type: String}, supplier_address: { type: String, default: null }, supplier_name : { type: String, default: null },