v0.1.18 - 설정 화면과 기간형 D-DAY 관리 추가

This commit is contained in:
2026-04-22 09:47:04 +09:00
parent 4355185203
commit fe538fc88b
13 changed files with 1033 additions and 173 deletions

View File

@@ -79,3 +79,19 @@ export async function fetchCurrentUser(token) {
token,
})
}
export async function updateProfile(token, { email, nickname }) {
return request('/api/auth/profile', {
method: 'PUT',
token,
body: { email, nickname },
})
}
export async function updatePassword(token, { currentPassword, newPassword }) {
return request('/api/auth/password', {
method: 'PUT',
token,
body: { currentPassword, newPassword },
})
}