From 6384379e5fc237025139eaf495beab919f46d5ba Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 20 Nov 2019 14:27:04 -0500 Subject: [PATCH] revoke-expired-tokens: fix typo --- scripts/revoke-expired-tokens | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/revoke-expired-tokens b/scripts/revoke-expired-tokens index eaa866f..a57fe1c 100755 --- a/scripts/revoke-expired-tokens +++ b/scripts/revoke-expired-tokens @@ -13,6 +13,6 @@ for token in OAuthToken.query.filter(OAuthToken.expires < cutoff).all(): .filter(RevocationUrl.token_id == token.id)).all(): async_request.delay(revocation.url, json.dumps({ "token_hash": token.token_hash, - }, {"Content-Type": "application/json"}) + }), {"Content-Type": "application/json"}) db.session.delete(revocation) db.session.commit()