Add message field to alert schema in printer.schema.js

This commit is contained in:
Tom Butcher 2025-09-05 23:28:39 +01:00
parent e4c790e7cc
commit d6214e316b

View File

@ -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 }
);