From 49df047d69bbc8e8d9541ed8b2d4b4085a58becd Mon Sep 17 00:00:00 2001 From: Marc Font <36164126+Marketen@users.noreply.github.com> Date: Tue, 1 Oct 2024 09:26:36 +0200 Subject: [PATCH] use POST instead of GET (#367) * use POST instead of GET * rm console print --- packages/brain/src/modules/apiClients/beaconchain/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/brain/src/modules/apiClients/beaconchain/index.ts b/packages/brain/src/modules/apiClients/beaconchain/index.ts index a5409d6e..68d4027b 100644 --- a/packages/brain/src/modules/apiClients/beaconchain/index.ts +++ b/packages/brain/src/modules/apiClients/beaconchain/index.ts @@ -144,7 +144,7 @@ export class BeaconchainApi extends StandardApi { }): Promise { try { return await this.request({ - method: "GET", + method: "POST", endpoint: path.join(this.beaconchainEndpoint, "states", state, "validators", pubkey) }); } catch (e) {