@openinc/parse-server-opendash 3.14.8 → 3.14.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -16,12 +16,12 @@ async function init() {
|
|
|
16
16
|
});
|
|
17
17
|
(0, __1.afterSaveHook)(types_1.Maintenance_Schedule_Execution, async (request) => {
|
|
18
18
|
const { object, original, user } = request;
|
|
19
|
-
// save schedule message to source
|
|
20
|
-
addMachinelogMessage(object, user);
|
|
21
19
|
//If this is an update, do nothing
|
|
22
20
|
if (original !== undefined) {
|
|
23
21
|
return;
|
|
24
22
|
}
|
|
23
|
+
// save schedule message to source
|
|
24
|
+
addMachinelogMessage(object, user);
|
|
25
25
|
//If this is a new object, create all steps from the origin
|
|
26
26
|
const tenant = object.get("tenant")
|
|
27
27
|
? object.get("tenant")
|