fix: delete console.log
This commit is contained in:
parent
b45a7f4cba
commit
173401b67d
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user