feat: add Sentry source map upload configuration and update environment variables
This commit is contained in:
@@ -31,7 +31,9 @@ export const useBestSalePricesQuery = (enabled: boolean = true) => {
|
||||
throw new Error(error.message || 'Failed to fetch best sale prices');
|
||||
}
|
||||
|
||||
return response.json();
|
||||
const json = await response.json();
|
||||
// API returns { success: true, data: [...] }, extract the data array
|
||||
return json.data ?? json;
|
||||
},
|
||||
enabled,
|
||||
// Prices update when flyers change, keep fresh for 2 minutes
|
||||
|
||||
Reference in New Issue
Block a user