Skip to content

Commit

Permalink
Merge pull request #214 from SCBJ-7/feature/#213
Browse files Browse the repository at this point in the history
[#213] fetchAlarm에 instance 제거
  • Loading branch information
Bumang-Cyber authored Jan 25, 2024
2 parents a1ebb55 + 1d84f22 commit 3135d91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/apis/fetchAlarm.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { END_POINTS } from "@constants/api";
import { axiosInstance } from "./axiosInstance";
import axios from "axios";
import { AlarmType } from "@type/alarm";

export const fetchAlarm = async (): Promise<AlarmType[]> => {
const { data } = await axiosInstance.get(END_POINTS.ALARM);
const { data } = await axios.get(END_POINTS.ALARM);
return data.data;
};

0 comments on commit 3135d91

Please sign in to comment.