Skip to content

Commit d742b3d

Browse files
committed
clarify Base64URLConverter
1 parent 7e7adfa commit d742b3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/app/util/converters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class Base64URLConverter(werkzeug.routing.UnicodeConverter):
5252
def to_url(self, value: model.Identifier) -> str:
5353
return super().to_url(base64url_encode(value))
5454

55-
def to_python(self, value: str) -> model.Identifier:
55+
def to_identifier(self, value: str) -> model.Identifier:
5656
value = super().to_python(value)
5757
decoded = base64url_decode(value)
5858
return decoded

0 commit comments

Comments
 (0)