Skip to content

Commit ccf6687

Browse files
Merge pull request #41 from sparcs-kaist/chore/ServiceLayer
Add Home api
2 parents f5f742c + dca418d commit ccf6687

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/lib/api/home.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import http from "./http";
2+
3+
export const fetchHome = async () => {
4+
const { data } = await http.get('/home');
5+
return data;
6+
}

0 commit comments

Comments
 (0)