mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-08-03 13:35:25 +02:00
fix: increase synced rows limit to 1000
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ export interface SyncedRow {
|
|||||||
export async function getAllSyncedRows(): Promise<Record<string, SyncedRow>> {
|
export async function getAllSyncedRows(): Promise<Record<string, SyncedRow>> {
|
||||||
try {
|
try {
|
||||||
const response = await safeFetch(
|
const response = await safeFetch(
|
||||||
`${SUPABASE_URL}/rest/v1/products?select=product_id,data,status&order=updated_at.desc`,
|
`${SUPABASE_URL}/rest/v1/products?select=product_id,data,status&order=updated_at.desc&limit=1000`,
|
||||||
{ cache: 'no-store' }
|
{ cache: 'no-store' }
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user