Add comment
This commit is contained in:
parent
cc77cea269
commit
e29611f2eb
|
@ -255,6 +255,7 @@ async function checkForWebhooks({ oldAuto, newAuto }: any) {
|
|||
}
|
||||
|
||||
function trimUnexpectedObjectFields<T extends Automation>(automation: T): T {
|
||||
// This will ensure all the automation fields (and nothing else) is mapped to the result
|
||||
const allRequired: RequiredKeys<Automation> = {
|
||||
_id: automation._id,
|
||||
_rev: automation._rev,
|
||||
|
|
Loading…
Reference in New Issue