Add optional 'message' field to alert schema: Enhanced the alert schema in printer.schema.js to include a non-required 'message' field for improved alert detail.
This commit is contained in:
parent
5cac77a975
commit
97773c2ab2
@ -17,6 +17,7 @@ const alertSchema = new Schema(
|
||||
{
|
||||
priority: { type: String, required: true }, // order to show
|
||||
type: { type: String, required: true }, // selectFilament, error, info, message,
|
||||
message: { type: String, required: false },
|
||||
},
|
||||
{ timestamps: true, _id: false }
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user