Эх сурвалжийг харах

fix: correct ShopRenter API URL to use api2.myshoprenter.hu domain #79

Claude 5 сар өмнө
parent
commit
35826c099b

+ 1 - 1
supabase/functions/_shared/shoprenter-client.ts

@@ -249,7 +249,7 @@ export async function shopRenterApiRequest(
   const accessToken = await getValidAccessToken(storeId)
 
   // Build API URL
-  const apiUrl = `https://${store.store_name}.shoprenter.hu/api${endpoint}`
+  const apiUrl = `https://${store.store_name}.api2.myshoprenter.hu/api${endpoint}`
 
   // Make request
   const options: RequestInit = {