all repos — honk @ b830c0123af40f69d945d8418f1ec9fd5af72e59

my fork of honk

u
Anirudh Oppiliappan x@icyphox.sh
Sun, 21 Jan 2024 13:51:38 +0200
commit

b830c0123af40f69d945d8418f1ec9fd5af72e59

parent

31fba5f708c51dd3c5f930fb887d480689cc2347

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

jump to
M masto.gomasto.go

@@ -106,7 +106,7 @@ // redirectURI := r.FormValue("redirect_uri")

// gotScopes := r.FormValue("scopes") app := MastoApp{} - err := stmtGetMastoApp.Select(&app, clientID) + err := stmtGetMastoApp.Get(&app, clientID) if err == sql.ErrNoRows { elog.Println("oauth: no such client:", clientID) rw.WriteHeader(http.StatusUnauthorized)