(A)wait your actions
All actions return a promise. Wait until the promise resolves, otherwise your hook won't work as expected.
You can use await because Cloudhooks is ES2016 compatible:
All actions return a promise. Wait until the promise resolves, otherwise your hook won't work as expected.
You can use await because Cloudhooks is ES2016 compatible: