Skip to content

Commit

Permalink
πŸ› Switch members to GET method
Browse files Browse the repository at this point in the history
 - Ponder map POST to PUT, doesn't make a lot of sense
  • Loading branch information
KONFeature committed Nov 29, 2024
1 parent 911eda1 commit 8e8e20c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ponder/src/api/members.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ type GetMembersParams = {
/**
* Get all the members for a product admin
*/
ponder.post("/members/:productAdmin", async (ctx) => {
ponder.get("/members/:productAdmin", async (ctx) => {
// Extract wallet
const wallet = ctx.req.param("productAdmin") as Address;
if (!isAddress(wallet)) {
Expand Down

0 comments on commit 8e8e20c

Please sign in to comment.