Skip to content

Commit

Permalink
GH20 fix nil pointer dereference in /version entrypoint (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
rockerbacon authored Feb 4, 2024
2 parents 8352404 + a55ef1a commit 09e8eb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/rest_api/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ func (self *Server)registerSingleEntrypoint(path string, controller any) {
}

func (self *Server)registerEntrypoints() {
self.registerSingleEntrypoint("/version/", entrypoints.VersionController{})
self.registerSingleEntrypoint("/version/", entrypoints.NewVersionController())
}

0 comments on commit 09e8eb9

Please sign in to comment.