mirror of
				https://github.com/mitchell/shortnr.git
				synced 2025-10-27 12:05:26 +00:00 
			
		
		
		
	Remove some characters from id char list
This commit is contained in:
		
							parent
							
								
									b492d338cd
								
							
						
					
					
						commit
						21728d883f
					
				|  | @ -53,7 +53,7 @@ defmodule Shortnr.URL do | ||||||
|     |> handle_errors |     |> handle_errors | ||||||
|   end |   end | ||||||
| 
 | 
 | ||||||
|   @id_chars String.codepoints("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXWYZ0123456789") |   @id_chars String.codepoints("abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXWYZ0123456789") | ||||||
|   @spec generate_id() :: String.t() |   @spec generate_id() :: String.t() | ||||||
|   def generate_id do |   def generate_id do | ||||||
|     for _ <- 0..7, |     for _ <- 0..7, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue