Skip to content

같은 기능을 하는 중복된 함수가 있습니다. #23

@DevLeti

Description

@DevLeti
export function getDoctorList() {
    return axios.get("/doctor/");
}

export function getDoctor() {
    return axios.get("/doctor/");
}

patient.js에서 93~99째줄에 getDoctorList()getDoctor()이 있는데 둘이 같은 기능입니다.
getDoctor()또는 getDoctorList() 둘중 하나를 삭제하는 것이 좋다고 생각드는데, 어떤걸 지우는게 좋을까요?

Metadata

Metadata

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions