Skip to content

Commit

Permalink
Change serializer method name to match validators
Browse files Browse the repository at this point in the history
  • Loading branch information
ljodal committed Aug 7, 2023
1 parent 8d87b2f commit 4bbbbbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webauthn/helpers/structs.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def _pydantic_v2_validate_bytes_fields(
return _to_bytes(v)

@model_serializer(mode="wrap", when_used="json")
def clean_up_base64(
def _pydantic_v2_serialize_bytes_fields(
self, serializer: Callable[..., Dict[str, Any]]
) -> Dict[str, Any]:
"""
Expand Down

0 comments on commit 4bbbbbd

Please sign in to comment.