We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0357077 + 9769d38 commit ba00de9Copy full SHA for ba00de9
2 files changed
frontend/src/pages/admin/AttendanceCode.jsx
@@ -19,9 +19,7 @@ const AttendanceCode = () => {
19
console.log("기존 출석코드 자동 만료됨");
20
} catch (error) {
21
if (error.response?.status !== 404) {
22
- alert(
23
- "초기화 중 오류: " + (error.response?.data?.message || "서버 오류")
24
- );
+ return;
25
}
26
27
};
frontend/src/pages/generation/Attendance.jsx
@@ -152,7 +152,7 @@ const Attendance = () => {
152
153
// 유저가 입력한 출석 코드 서버에 전달(서버에서 출석코드 체크)
154
155
- const res = await axios.post(
+ const res = await api.post(
156
"/api/attendance/mark",
157
158
{
0 commit comments