fix: supprimer API_VERSION inutilisé + eslint-disable _req
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -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([
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
import type { SyncProduct } from '@/types/sync'
|
||||
|
||||
const API_VERSION = 'v4'
|
||||
|
||||
function normalizeHandle(ref: string): string {
|
||||
return ref
|
||||
.toLowerCase()
|
||||
|
||||
Reference in New Issue
Block a user