Skip to content

Commit

Permalink
fix(client): load more feeds
Browse files Browse the repository at this point in the history
  • Loading branch information
lareii committed Sep 19, 2024
1 parent fd7b53b commit acb872d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/lib/api/me/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ export async function updateMe(data) {
}
}

export async function getFeed() {
export async function getFeed(limit, offset) {
try {
const response = await api.get('/me/feed');
const response = await api.get('/me/feed', { params: { limit, offset } });
return response;
} catch (error) {
return error.response;
Expand Down

0 comments on commit acb872d

Please sign in to comment.