From 11365e3297dcea64b3f2f8f87042fddd02259b15 Mon Sep 17 00:00:00 2001 From: Finn Herzfeld Date: Wed, 5 Dec 2018 13:04:52 -0800 Subject: [PATCH] Add dummy endpoint for the directory reconsolation thing --- testhelper.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testhelper.go b/testhelper.go index 9eae600..89fb0c1 100644 --- a/testhelper.go +++ b/testhelper.go @@ -27,5 +27,9 @@ func main() { crash(err) fmt.Fprintf(w, "%s\n", code) }) + + http.HandleFunc("/v1/directory/reconsole", func(w http.ResponseWriter, r *http.Request) { + log.Printf("%s", r.Body) + }) log.Fatal(http.ListenAndServe(":8082", nil)) }