Remove required comment for trusted IP schema

This commit is contained in:
Tuan Dang
2023-07-26 15:29:43 +07:00
parent cfa2461479
commit ad33356994
+1 -2
View File
@@ -43,8 +43,7 @@ const trustedIpSchema = new Schema<ITrustedIP>(
required: true required: true
}, },
comment: { comment: {
type: String, type: String
required: true
} }
}, },
{ {