u
Anirudh Oppiliappan x@icyphox.sh
Sun, 24 Sep 2023 10:43:13 +0300
1 files changed,
3 insertions(+),
3 deletions(-)
jump to
M
masto.go
→
masto.go
@@ -11,7 +11,7 @@ )
func gf() { pc, _, _, _ := runtime.Caller(1) - fmt.Printf("%s", runtime.FuncForPC(pc).Name()) + fmt.Printf("%s\n", runtime.FuncForPC(pc).Name()) } func badjunk(rw http.ResponseWriter, j junk.Junk, path string) {@@ -22,10 +22,10 @@
// https://docs.joinmastodon.org/methods/apps/#create func apiapps(rw http.ResponseWriter, r *http.Request) { gf() - dlog.Println(r.URL.String) - dlog.Println(r.URL.RawQuery) + dlog.Println(r.URL.String()) if err := r.ParseForm(); err != nil { http.Error(rw, "invalid input", http.StatusUnprocessableEntity) + elog.Println(err) return } clientName := r.Form.Get("client_name")