From a0afcd9baf2aea6649f612a715de8f800b78feb8 Mon Sep 17 00:00:00 2001
From: Arth <65160206@go.buu.ac.th>
Date: Fri, 28 Mar 2025 01:16:43 +0700
Subject: [PATCH] fix error on double quote

---
 src/services/queue.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/services/queue.ts b/src/services/queue.ts
index b04b108..a8d6b21 100644
--- a/src/services/queue.ts
+++ b/src/services/queue.ts
@@ -47,7 +47,7 @@ export async function runScheduleDirect(payload: {
   startDate: string
   pageID: number
 }) {
-  const { data } = await axios.post('import.meta.env.VITE_SCHEDULER_API', payload, {
+  const { data } = await axios.post(`${import.meta.env.VITE_SCHEDULER_API}`, payload, {
     headers: {
       'Content-Type': 'application/json'
     }
-- 
GitLab