diff --git a/src/apis/follow.ts b/src/apis/follow.ts index 9287b4fd..d854951e 100644 --- a/src/apis/follow.ts +++ b/src/apis/follow.ts @@ -7,7 +7,7 @@ import { import { api } from './core'; -export interface Follow { +export interface FollowInfo { userId: number; email: string; nickname: string; @@ -25,13 +25,13 @@ export interface Follow { } const getFollowersByMe = () => { - return api.get({ + return api.get({ url: '/followers', }); }; const getFolloweesByMe = () => { - return api.get({ + return api.get({ url: 'followees', }); };