From b5ed14f89db13b9cf1a25430cf299a6d4af40f82 Mon Sep 17 00:00:00 2001 From: Nishant Arora <1895906+whizzzkid@users.noreply.github.com> Date: Wed, 18 Oct 2023 09:59:10 -0600 Subject: [PATCH] fix(server): version call should be post Signed-off-by: Nishant Arora <1895906+whizzzkid@users.noreply.github.com> --- src/heliaServer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/heliaServer.ts b/src/heliaServer.ts index eb6e548..d15bc46 100644 --- a/src/heliaServer.ts +++ b/src/heliaServer.ts @@ -45,7 +45,7 @@ export class HeliaServer { handler: async (request, response): Promise => this.fetch({ request, response }) }, { path: '/api/v0/version', - type: 'get', + type: 'post', handler: async (request, response): Promise => this.heliaVersion({ request, response }) }, { path: '/api/v0/repo/gc',