Skip to content

Commit

Permalink
Handler bugfix for deregistration of non-existent directories.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Jan 21, 2025
1 parent 18537e9 commit 385134f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func main() {
// Setting up the endpoints.
http.HandleFunc("POST " + prefix + "/register/start", newRegisterStartHandler(verifier))
http.HandleFunc("POST " + prefix + "/register/finish", newRegisterFinishHandler(db, verifier, tokenizer, timeout))
http.HandleFunc("POST " + prefix + "/deregister/start", newDeregisterStartHandler(ro_db, verifier))
http.HandleFunc("POST " + prefix + "/deregister/start", newDeregisterStartHandler(db, verifier))
http.HandleFunc("POST " + prefix + "/deregister/finish", newDeregisterFinishHandler(db, verifier, timeout))

http.HandleFunc(prefix + "/registered", newListRegisteredDirectoriesHandler(ro_db))
Expand Down

0 comments on commit 385134f

Please sign in to comment.