all repos — honk @ c7aa79da46531941446057ae8f2c0ddafb69e2ff

my fork of honk

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

c7aa79da46531941446057ae8f2c0ddafb69e2ff

parent

c876219922c0ecfd8ecba94126d6e581d6b47b37

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) + var nrw NotResponseWriter + login.LoginFunc(&nrw, r) dlog.Println("got code!", nrw.auth, len(nrw.auth)) rw.WriteHeader(http.StatusOK) return