From 8e8e20c4f2c940dc4d65d50f163d89eeb378773d Mon Sep 17 00:00:00 2001 From: KONFeature Date: Fri, 29 Nov 2024 11:23:10 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Switch=20members=20to=20GET=20me?= =?UTF-8?q?thod?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Ponder map POST to PUT, doesn't make a lot of sense --- packages/ponder/src/api/members.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ponder/src/api/members.ts b/packages/ponder/src/api/members.ts index fad8cfe..6f3cfd2 100644 --- a/packages/ponder/src/api/members.ts +++ b/packages/ponder/src/api/members.ts @@ -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)) {