From 4442df115349f76e1c8b5729f2736ba172ecd6b0 Mon Sep 17 00:00:00 2001 From: Livio Amstutz Date: Tue, 2 Nov 2021 11:55:18 +0100 Subject: [PATCH] fixes --- pkg/op/token_revocation.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/op/token_revocation.go b/pkg/op/token_revocation.go index 4bac76f..fbaf8b7 100644 --- a/pkg/op/token_revocation.go +++ b/pkg/op/token_revocation.go @@ -44,9 +44,7 @@ func Revoke(w http.ResponseWriter, r *http.Request, revoker Revoker) { RevocationRequestError(w, r, err) return } - var i interface{} - httphelper.MarshalJSON(w, i) - return + httphelper.MarshalJSON(w, nil) } func ParseTokenRevocationRequest(r *http.Request, revoker Revoker) (token, tokenTypeHint, clientID string, err error) {