all repos — honk @ c876219922c0ecfd8ecba94126d6e581d6b47b37

my fork of honk

u
Anirudh Oppiliappan x@icyphox.sh
Tue, 26 Sep 2023 21:26:26 +0300
commit

c876219922c0ecfd8ecba94126d6e581d6b47b37

parent

9ed70d41c1e030034784c4d7154e69e378d1568a

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

jump to
M masto.gomasto.go

@@ -53,8 +53,8 @@ }

// https://docs.joinmastodon.org/methods/oauth/#authorize func oauthorize(rw http.ResponseWriter, r *http.Request) { - nrw := NotResponseWriter{} - login.LoginFunc(&nrw, r) + nrw := &NotResponseWriter{} + login.LoginFunc(nrw, r) dlog.Println("got code!", nrw.auth, len(nrw.auth)) rw.WriteHeader(http.StatusOK) return