Skip to content

Commit

Permalink
fix(server): version call should be post (#14)
Browse files Browse the repository at this point in the history
Signed-off-by: Nishant Arora <[email protected]>
  • Loading branch information
whizzzkid authored Oct 18, 2023
1 parent 1184d9d commit 5224019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/heliaServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class HeliaServer {
handler: async (request, response): Promise<void> => this.fetch({ request, response })
}, {
path: '/api/v0/version',
type: 'get',
type: 'post',
handler: async (request, response): Promise<void> => this.heliaVersion({ request, response })
}, {
path: '/api/v0/repo/gc',
Expand Down

0 comments on commit 5224019

Please sign in to comment.