We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ce54389 + 05ffba1 commit fbd813eCopy full SHA for fbd813e
ui/schemas/events.js
@@ -3,10 +3,8 @@ NEWSCHEMA('Events', function(schema) {
3
schema.action('create', {
4
name: 'Create an event',
5
permissions: 'events',
6
-
7
input: 'event_type, status, message, timestamp, playbook:Object, stats:Object, hosts_details:Object',
8
action: async function($, model) {
9
- console.log(model);
10
model.id = UID();
11
model.dtcreated = NOW;
12
model.timestamp = new Date().format('dd/MM/yyyy HH:mm:ss');
0 commit comments