Skip to content

Commit

Permalink
fix space in type name
Browse files Browse the repository at this point in the history
  • Loading branch information
stelzo committed Jan 25, 2025
1 parent b57ce4e commit eada98b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ func ListItems(itemType string, w http.ResponseWriter, r *http.Request) {
for obj := it.Next(); obj != nil; obj = it.Next() {
p := obj.(*mapping.MappedMultilangItemUnity)

enTypeName := strings.ToLower(p.Type.Name["en"])
enTypeName := strings.ToLower(strings.ReplaceAll(p.Type.Name["en"], " ", "-"))

if removedTypes.Has(enTypeName) {
continue
Expand Down

0 comments on commit eada98b

Please sign in to comment.