u
Anirudh Oppiliappan x@icyphox.sh
Tue, 26 Sep 2023 21:26:26 +0300
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
masto.go
→
masto.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