u
Anirudh Oppiliappan x@icyphox.sh
Sun, 21 Jan 2024 13:51:38 +0200
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
masto.go
→
masto.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)