17 lines
320 B
TypeScript
17 lines
320 B
TypeScript
import axiosClient from ".";
|
|
|
|
export interface SpecialtyItem {
|
|
id: string;
|
|
name: string;
|
|
}
|
|
|
|
const specialtyServices = {
|
|
getSpecialty: (tokenAxios?: any) => {
|
|
return axiosClient.get<SpecialtyItem[]>("/api/v1/Specialty/lookup", {
|
|
cancelToken: tokenAxios,
|
|
});
|
|
},
|
|
};
|
|
|
|
export default specialtyServices;
|