Skip to content

Commit

Permalink
Fix: 파라미터 타입 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene-A-01 committed Feb 18, 2024
1 parent 51746bd commit 7399ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/_api/follow/getFollowingList.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import axiosInstance from '@/lib/axios/axiosInstance';
import { FollowingListType } from '@/lib/types/followType';

const getFollowingList = async (userId: number) => {
const getFollowingList = async (userId: number | null) => {
const response = await axiosInstance.get<FollowingListType>(`users/${userId}/followings`);

return response.data;
Expand Down

0 comments on commit 7399ed5

Please sign in to comment.