Skip to content

Commit

Permalink
Merge pull request #15 from artemnvkv/string-fix-errors
Browse files Browse the repository at this point in the history
Fix string type errors function
  • Loading branch information
sofakingworld authored Jun 19, 2024
2 parents 69ea692 + 0c98195 commit 8ec0a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/types/string_type.ex
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ defmodule Talos.Types.StringType do
value
) do
errors =
case String.valid?(value) do
case is_binary(value) && String.valid?(value) do
true ->
str_len = String.length(value)

Expand Down

0 comments on commit 8ec0a30

Please sign in to comment.