A silly question: ISODate shouldn’t work within a webhook stitch?
I get: ISODate is not defined
Thanks
A silly question: ISODate shouldn’t work within a webhook stitch?
I get: ISODate is not defined
Thanks
Hi @Federico_Ettlin,
ISODate()
is only a mongo shell wrapper/helper for the Date object.
In Stitch, you could just use the built-in javascript Date
. i.e.
exports = function(payload, response) {
return {"foo": new Date()};
};
You may also find the following useful:
Regards,
Wan.
Thank you very much, Wan.