Write meta info to automatic events

This commit is contained in:
D. Berge
2023-09-29 16:49:27 +02:00
parent 64fceb0a01
commit d408665d62
2 changed files with 6 additions and 4 deletions

View File

@@ -69,7 +69,7 @@ class DetectFDSP {
point: prev._point,
remarks: "Last shotpoint of the day",
labels: ["LDSP", "Prod"],
meta: {auto: true, insertedBy: this.constructor.name}
meta: {auto: true, author: `*${this.constructor.name}*`}
};
const fdsp = {
@@ -77,7 +77,7 @@ class DetectFDSP {
point: cur._point,
remarks: "First shotpoint of the day",
labels: ["FDSP", "Prod"],
meta: {auto: true, insertedBy: this.constructor.name}
meta: {auto: true, author: `*${this.constructor.name}*`}
};
INFO("LDSP", ldsp);

View File

@@ -68,7 +68,8 @@ class DetectSOLEOL {
sequence,
point: cur._point,
remarks,
labels
labels,
meta: {auto: true, author: `*${this.constructor.name}*`}
}
// console.log(projectId, payload);
@@ -101,7 +102,8 @@ class DetectSOLEOL {
sequence,
point: prev._point,
remarks,
labels
labels,
meta: {auto: true, author: `*${this.constructor.name}*`}
}
// console.log(projectId, payload);