diff --git a/internal/http/server.go b/internal/http/server.go index 8226129..71ceb4b 100644 --- a/internal/http/server.go +++ b/internal/http/server.go @@ -29,7 +29,7 @@ func Start() error { mux.Handle("DELETE /api/vote/bulk", auth.AuthMiddleware(vote.BulkDelVoteEntryEndpoint)) mux.Handle("POST /api/vote", auth.AuthMiddleware(vote.AddVoteEntryEndpoint)) - mux.Handle("POST /api/vote/bulk", auth.AuthMiddleware(vote.BulkDelVoteEntryEndpoint)) + mux.Handle("POST /api/vote/bulk", auth.AuthMiddleware(vote.BulkVoteEntryEndpoint)) auth.CallbackHandler(mux) return http.ListenAndServe(":4000", corsMiddleware(mux))