diff --git a/src/lib/googleSheets.ts b/src/lib/googleSheets.ts index 99e4a9c..40d89fe 100644 --- a/src/lib/googleSheets.ts +++ b/src/lib/googleSheets.ts @@ -41,7 +41,7 @@ export function parseSheetRows(rows: string[][]): SyncProduct[] { export async function readSheetProducts(): Promise { const apiKey = process.env.GOOGLE_API_KEY const sheetId = process.env.GOOGLE_SHEETS_ID - const sheetName = process.env.GOOGLE_SHEETS_TAB ?? 'Produits' + const sheetName = process.env.GOOGLE_SHEETS_TAB ?? 'MATRICE' if (!apiKey || !sheetId) { throw new Error('Variables GOOGLE_API_KEY et GOOGLE_SHEETS_ID requises')