diff --git a/marketo/index.js b/marketo/index.js index 3e12348..6ed5139 100644 --- a/marketo/index.js +++ b/marketo/index.js @@ -74,7 +74,7 @@ export async function publishMarketo(req, res) { await marketo.initialize(); // generate marketo email - const { previewURL } = await generateEmail(marketo, mktoTokens, `${structuredContent.title}-${Date.now()}`); + const { previewURL } = await generateEmail(marketo, mktoTokens, `${structuredContent.title}-${(new Date()).toISOString()}`); appLogger.info({url: previewURL}, 'preview generated'); await postPublicAPI(token, payload.data.publishing_event.links.publishing_metadata, {