mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 23:55:58 -05:00
code review feedback
This commit is contained in:
@@ -29,7 +29,7 @@ def expire_api_key(service_id, api_key_id):
|
|||||||
ApiKey.id == api_key_id, ApiKey.service_id == service_id
|
ApiKey.id == api_key_id, ApiKey.service_id == service_id
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
# .scalars()
|
.scalars()
|
||||||
.one()
|
.one()
|
||||||
)
|
)
|
||||||
api_key.expiry_date = utc_now()
|
api_key.expiry_date = utc_now()
|
||||||
|
|||||||
Reference in New Issue
Block a user