mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-08-03 13:05:25 +02:00
feat: increase history limit to 500 entries
This commit is contained in:
+1
-1
@@ -153,7 +153,7 @@ export async function saveHistoryEntry(
|
||||
export async function getHistory(): Promise<HistoryEntry[]> {
|
||||
try {
|
||||
const response = await safeFetch(
|
||||
`${SUPABASE_URL}/rest/v1/products_history?select=*&order=changed_at.desc&limit=100`,
|
||||
`${SUPABASE_URL}/rest/v1/products_history?select=*&order=changed_at.desc&limit=500`,
|
||||
{ cache: 'no-store' }
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user