Remove some characters from id char list

This commit is contained in:
mitchell 2022-01-25 20:56:02 -05:00
parent b492d338cd
commit 21728d883f
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ defmodule Shortnr.URL do
|> handle_errors
end
@id_chars String.codepoints("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXWYZ0123456789")
@id_chars String.codepoints("abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXWYZ0123456789")
@spec generate_id() :: String.t()
def generate_id do
for _ <- 0..7,