change amount + pictures
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
const API_BASE = 'http://localhost:3000'; // Backend URL
|
||||
|
||||
export async function fetchCards() {
|
||||
const response = await fetch(`${API_BASE}/exportCards`);
|
||||
if (!response.ok) throw new Error('Failed to fetch cards');
|
||||
return await response.json();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user