fix: add missing "error" field in command

This commit is contained in:
wancat committed 2023-08-24 11:35:43 +08:00
1 parent ad3dd2fb18
commit 27f8525585
1 file changed
+3 -3
+3 -3
View File
@@ -17,11 +17,11 @@ const Command = model(
type: String,
required: true,
},
exit_code: {
type: Number,
output: {
type: String,
required: false,
},
output: {
error: {
type: String,
required: false,
},