fix: delete console.log

This commit is contained in:
Dayoung 2025-05-23 11:15:46 +09:00
parent b45a7f4cba
commit 173401b67d

View File

@ -21,7 +21,6 @@ export async function GET(request: NextRequest, { params }: { params: Promise<{
const getNewSrlNo = async (srlNo: string, storeId: string) => {
let newSrlNo = srlNo
console.log('srlNo:: ', srlNo)
if (srlNo.startsWith('一時保存')) {
//@ts-ignore
const lastSurvey = await prisma.SD_SURVEY_SALES_BASIC_INFO.findFirst({
@ -128,7 +127,6 @@ export async function PATCH(request: NextRequest, { params }: { params: Promise<
SRL_NO: newSrlNo,
},
})
console.log(survey)
return NextResponse.json({ message: 'Survey confirmed successfully' })
}
} catch (error) {