feat: increase history limit to 500 entries

This commit is contained in:
Christian Vidal Wolf
2026-04-23 15:00:08 +02:00
parent b14cfe00f0
commit 360baa7f10
+1 -1
View File
@@ -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' }
);