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) => {
|
const getNewSrlNo = async (srlNo: string, storeId: string) => {
|
||||||
let newSrlNo = srlNo
|
let newSrlNo = srlNo
|
||||||
console.log('srlNo:: ', srlNo)
|
|
||||||
if (srlNo.startsWith('一時保存')) {
|
if (srlNo.startsWith('一時保存')) {
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
const lastSurvey = await prisma.SD_SURVEY_SALES_BASIC_INFO.findFirst({
|
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,
|
SRL_NO: newSrlNo,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
console.log(survey)
|
|
||||||
return NextResponse.json({ message: 'Survey confirmed successfully' })
|
return NextResponse.json({ message: 'Survey confirmed successfully' })
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user