Skip to content

Commit

Permalink
πŸ”₯ Remove: λΆˆν•„μš”ν•œ 토큰 μ‚­μ œ
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-paik committed Nov 21, 2023
1 parent 586e2ed commit 085a719
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/api/post.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ export const getFollowFeed = async (limit, skip, token) => {
};

/* λ‚˜μ˜ κ²Œμ‹œκΈ€ λͺ©λ‘ */
export const getMyPost = async (token, accountname) => {
export const getMyPost = async (accountname, limit, skip) => {
try {
const response = await authInstance.get(
`/post/${accountname}/userpost/?limit=Number&skip=Number`
`/post/${accountname}/userpost/?limit=${limit}&skip=${skip}`
);
return response.data;
} catch (error) {
Expand Down Expand Up @@ -76,7 +76,7 @@ export const reportPost = async (token, postId) => {
};

/* 개인 κ²Œμ‹œλ¬Ό 정보 */
export const getUserPosts = async (token, accountname, limit, skip) => {
export const getUserPosts = async (accountname, limit, skip) => {
try {
const response = await authInstance.get(
`/post/${accountname}/userpost/?limit=${limit}&skip=${skip}`
Expand Down

0 comments on commit 085a719

Please sign in to comment.