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()