From f2238da011275ae905a0b4274aa1cd1e506bec0f Mon Sep 17 00:00:00 2001 From: sue hyeok chae <137467530+ienrum@users.noreply.github.com> Date: Sat, 6 Jul 2024 21:11:20 +0900 Subject: [PATCH] refactor: Follow to FollowInfo --- src/apis/follow.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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', }); };