u
Anirudh Oppiliappan x@icyphox.sh
Tue, 26 Sep 2023 21:30:13 +0300
1 files changed,
3 insertions(+),
3 deletions(-)
jump to
M
masto_util.go
→
masto_util.go
@@ -15,17 +15,17 @@ header http.Header
status int } -func (w NotResponseWriter) Header() http.Header { +func (w *NotResponseWriter) Header() http.Header { return w.header } -func (w NotResponseWriter) Write(b []byte) (int, error) { +func (w *NotResponseWriter) Write(b []byte) (int, error) { dlog.Println("notresponsewriter: oauth code:", string(b)) w.auth = string(b) return 0, nil } -func (w NotResponseWriter) WriteHeader(statusCode int) { +func (w *NotResponseWriter) WriteHeader(statusCode int) { w.status = statusCode }