From 5cde7e1f581292150fc83d53df804ffb5f209c67 Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Tue, 26 May 2026 19:30:18 +0100 Subject: [PATCH] bug-fixed issue with calling the endpoint --- components/services/services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/services/services.js b/components/services/services.js index ed2f767..1874500 100644 --- a/components/services/services.js +++ b/components/services/services.js @@ -29,7 +29,7 @@ const siteServerPath = () => { return process.env.NEXT_PUBLIC_APP_MAIN_API; } -const postAuxEnd = (basePath, path, postData) => { +const postAuxEnd = (basePath, path, postData, media=false) => { // const basePath = media ? process.env.NEXT_PUBLIC_APP_MAIN_API : process.env.NEXT_PUBLIC_APP_MAIN_API; let newPostData = {} if (!media) {