fix: fusionner imports next/server dupliqués
This commit is contained in:
@@ -1,9 +1,7 @@
|
|||||||
import { NextResponse } from 'next/server'
|
import { NextRequest, NextResponse } from 'next/server'
|
||||||
import { prisma } from '@/lib/prisma'
|
import { prisma } from '@/lib/prisma'
|
||||||
import type { SyncHistoryEntry, SyncLogEntry } from '@/types/sync'
|
import type { SyncHistoryEntry, SyncLogEntry } from '@/types/sync'
|
||||||
|
|
||||||
import { NextRequest } from 'next/server'
|
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
export async function GET(_req: NextRequest) {
|
export async function GET(_req: NextRequest) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
import { NextResponse } from 'next/server'
|
import { NextRequest, NextResponse } from 'next/server'
|
||||||
import { readSheetProducts } from '@/lib/googleSheets'
|
import { readSheetProducts } from '@/lib/googleSheets'
|
||||||
import { fetchAllShopifyProducts } from '@/lib/shopifySync'
|
import { fetchAllShopifyProducts } from '@/lib/shopifySync'
|
||||||
import { computeDiff } from '@/lib/syncDiff'
|
import { computeDiff } from '@/lib/syncDiff'
|
||||||
|
|
||||||
import { NextRequest } from 'next/server'
|
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
export async function GET(_req: NextRequest) {
|
export async function GET(_req: NextRequest) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user