From 1dc28778b8caba45d7f9587458c74b5e0037b21c Mon Sep 17 00:00:00 2001 From: Tykayn Date: Mon, 20 Mar 2023 13:56:02 +0100 Subject: [PATCH] fix afis script --- helpers/afis_science.mjs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/helpers/afis_science.mjs b/helpers/afis_science.mjs index 8d63771..e9ae1b0 100644 --- a/helpers/afis_science.mjs +++ b/helpers/afis_science.mjs @@ -23,8 +23,7 @@ async function postLink() { // disable_slugify: true, slug: "afis_picture", content_type: "text/markdown", - folder_image: process.cwd() + '/assets/', - image: "afis_picture_of_the_day.jpg", + image: `${process.cwd()}/assets/afis_picture_of_the_day.jpg`, message: `# ${contentOfPost} #afis #science #pseudoScience #hebdo`,