import { axiosClient } from '@/api/axiosClient'

export interface ChangeMyPasswordRequest {
  oldPassword: string
  newPassword: string
}

export async function changeMyPassword(payload: ChangeMyPasswordRequest): Promise<void> {
  await axiosClient.put('/api/v1/users/me/password', payload)
}
