all repos — honk @ bd415883e232fdd901dd305469a6c404ef1cc7ff

my fork of honk

u
Anirudh Oppiliappan x@icyphox.sh
Sun, 24 Sep 2023 10:43:13 +0300
commit

bd415883e232fdd901dd305469a6c404ef1cc7ff

parent

253fccbdd8760b6cd837d3b62ee93c4a857f5c85

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M masto.gomasto.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")