Skip to content

Commit

Permalink
fix: fix another occurrence of string
Browse files Browse the repository at this point in the history
[skip ci]

Closes: #42
  • Loading branch information
b1rger committed Feb 22, 2024
1 parent 5ef1ef4 commit 4170a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion viecpro_typesense_detail/details/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def format_and_orient_relation(
target_entity = getattr(rel, rel.get_related_entity_field_nameB()) # type: ignore
relation_type = rel.relation_type.name # type: ignore
target = {
"name": str(target_entity),
"name": fixstring(str(target_entity)),
"object_id": str(target_entity.id),
"model": str(target_entity.__class__.__name__),
}
Expand Down

0 comments on commit 4170a6a

Please sign in to comment.