mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
rename verify to complete in api endpoint
it was changed in this PR: https://github.com/alphagov/notifications-api/pull/3260
This commit is contained in:
@@ -128,8 +128,7 @@ class UserApiClient(NotifyAdminAPIClient):
|
||||
@cache.delete('user-{user_id}')
|
||||
def complete_webauthn_login_attempt(self, user_id, is_successful):
|
||||
data = {'successful': is_successful}
|
||||
# TODO: Change this to `/complete/webauthn-login`
|
||||
endpoint = f'/user/{user_id}/verify/webauthn-login'
|
||||
endpoint = f'/user/{user_id}/complete/webauthn-login'
|
||||
try:
|
||||
self.post(endpoint, data=data)
|
||||
return True, ''
|
||||
|
||||
Reference in New Issue
Block a user