From dc88e56f491f60c47ebc514ca686cc0f48c801ce Mon Sep 17 00:00:00 2001 From: Mathieu Date: Mon, 8 Jun 2026 22:59:30 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20supprimer=20API=5FVERSION=20inutilis?= =?UTF-8?q?=C3=A9=20+=20eslint-disable=20=5Freq?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/api/sync/history/route.ts | 1 + src/app/api/sync/preview/route.ts | 1 + src/lib/googleSheets.ts | 2 -- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/api/sync/history/route.ts b/src/app/api/sync/history/route.ts index b1d5530..b88ab72 100644 --- a/src/app/api/sync/history/route.ts +++ b/src/app/api/sync/history/route.ts @@ -4,6 +4,7 @@ import type { SyncHistoryEntry, SyncLogEntry } from '@/types/sync' import { NextRequest } from 'next/server' +// eslint-disable-next-line @typescript-eslint/no-unused-vars export async function GET(_req: NextRequest) { try { const runs = await prisma.syncRun.findMany({ diff --git a/src/app/api/sync/preview/route.ts b/src/app/api/sync/preview/route.ts index 55e4318..747f762 100644 --- a/src/app/api/sync/preview/route.ts +++ b/src/app/api/sync/preview/route.ts @@ -5,6 +5,7 @@ import { computeDiff } from '@/lib/syncDiff' import { NextRequest } from 'next/server' +// eslint-disable-next-line @typescript-eslint/no-unused-vars export async function GET(_req: NextRequest) { try { const [sheetProducts, shopifyProducts] = await Promise.all([ diff --git a/src/lib/googleSheets.ts b/src/lib/googleSheets.ts index 735723a..99e4a9c 100644 --- a/src/lib/googleSheets.ts +++ b/src/lib/googleSheets.ts @@ -1,7 +1,5 @@ import type { SyncProduct } from '@/types/sync' -const API_VERSION = 'v4' - function normalizeHandle(ref: string): string { return ref .toLowerCase()