|
@@ -249,7 +249,7 @@ export async function shopRenterApiRequest(
|
|
|
const accessToken = await getValidAccessToken(storeId)
|
|
const accessToken = await getValidAccessToken(storeId)
|
|
|
|
|
|
|
|
// Build API URL
|
|
// 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
|
|
// Make request
|
|
|
const options: RequestInit = {
|
|
const options: RequestInit = {
|