Skip to content

Commit

Permalink
my campaigns list api endpoint changed
Browse files Browse the repository at this point in the history
  • Loading branch information
armin-bkh committed Nov 9, 2023
1 parent c199902 commit 3f58ea7
Show file tree
Hide file tree
Showing 2 changed files with 573 additions and 570 deletions.
2 changes: 1 addition & 1 deletion src/app/[locale]/my-campaigns/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function MyCampaigns() {
handleNextPrevPage,
} = useQueryFetch<MyCampaignsRes>({
queryKey: 'myCampaigns',
endpoint: '/campaign/my-campaign',
endpoint: '/users/me/campaigns',
params: {
sort: JSON.stringify({createdAt: -1}),
},
Expand Down
Loading

0 comments on commit 3f58ea7

Please sign in to comment.