refactor: 로그 주석처리
This commit is contained in:
parent
d31cbdf82e
commit
003eafa731
@ -14,7 +14,7 @@ async function setChgPwd(req: Request): Promise<NextResponse> {
|
|||||||
chgPwd,
|
chgPwd,
|
||||||
})
|
})
|
||||||
|
|
||||||
console.log('🚀 ~ qsp userPwdChg api response ~ response.data:', res.data)
|
// console.log('🚀 ~ qsp userPwdChg api response ~ response.data:', res.data)
|
||||||
|
|
||||||
if (res.data.result.resultCode !== 'S') {
|
if (res.data.result.resultCode !== 'S') {
|
||||||
const errorMsg = res.data.result.resultMsg
|
const errorMsg = res.data.result.resultMsg
|
||||||
|
|||||||
@ -79,7 +79,7 @@ export default function PwResetForm() {
|
|||||||
const res = await axiosInstance(null).post(`/api/auth/chg-pwd`, req)
|
const res = await axiosInstance(null).post(`/api/auth/chg-pwd`, req)
|
||||||
|
|
||||||
if (res.status !== HttpStatusCode.Ok) {
|
if (res.status !== HttpStatusCode.Ok) {
|
||||||
console.error(`パスワードの変更に失敗しました。: ${res.data.error}`)
|
// console.error(`パスワードの変更に失敗しました。: ${res.data.error}`)
|
||||||
alert('パスワードの変更に失敗しました。')
|
alert('パスワードの変更に失敗しました。')
|
||||||
return
|
return
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user