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, type: String,
required: true, required: true,
}, },
exit_code: { output: {
type: Number, type: String,
required: false, required: false,
}, },
output: { error: {
type: String, type: String,
required: false, required: false,
}, },