Skip to content

Commit

Permalink
fix: another place where we should normalize strings
Browse files Browse the repository at this point in the history
  • Loading branch information
b1rger committed Feb 22, 2024
1 parent e9f3bbc commit bf6393a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion viecpro_typesense/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def func(x): return fixstring(x.split("<")[0]) if x else ""

class RelatedRelationEntityFieldHandler(Handler):
def func(x): return {
"name": str(x),
"name": fixstring(str(x)),
"object_id": str(x.id),
"model": str(x.__class__.__name__),
}
Expand Down

0 comments on commit bf6393a

Please sign in to comment.