add: api is read & not read in notification
This commit is contained in:
@@ -40,10 +40,6 @@ const insertNotificationSchema = Joi.object({
|
||||
// Update Notification Schema
|
||||
// ========================
|
||||
const updateNotificationSchema = Joi.object({
|
||||
error_code_id: Joi.number().optional().messages({
|
||||
"number.base": "error_code_id must be a number",
|
||||
}),
|
||||
|
||||
is_send: Joi.boolean().optional().messages({
|
||||
"boolean.base": "is_send must be a boolean",
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user