Skip to content

Commit 5d4d6cb

Browse files
bertdidahiranya911
authored andcommitted
Fix: corrected ValueError message (#338)
1 parent 150a855 commit 5d4d6cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firebase_admin/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def verify_id_token(id_token, app=None, check_revoked=False):
146146
if not isinstance(check_revoked, bool):
147147
# guard against accidental wrong assignment.
148148
raise ValueError('Illegal check_revoked argument. Argument must be of type '
149-
' bool, but given "{0}".'.format(type(app)))
149+
' bool, but given "{0}".'.format(type(check_revoked)))
150150
token_verifier = _get_auth_service(app).token_verifier
151151
verified_claims = token_verifier.verify_id_token(id_token)
152152
if check_revoked:

0 commit comments

Comments
 (0)