Add message field to alert schema in printer.schema.js
This commit is contained in:
parent
e4c790e7cc
commit
d6214e316b
@ -16,7 +16,8 @@ const moonrakerSchema = new Schema(
|
||||
const alertSchema = new Schema(
|
||||
{
|
||||
priority: { type: String, required: true }, // order to show
|
||||
type: { type: String, required: true } // selectFilament, error, info, message,
|
||||
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