revoke-expired-tokens: fix typo

This commit is contained in:
Drew DeVault 2019-11-20 14:27:04 -05:00
parent afed636e78
commit 6384379e5f
1 changed files with 1 additions and 1 deletions

View File

@ -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()