Skip to content

Commit 5460733

Browse files
committed
Removed ambigious characters from catch code generation
1 parent 4958a09 commit 5460733

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/Services/FursuitCatchCode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public function __construct(protected string $model, protected string $column) {
1111
public function generate(): string
1212
{
1313
do {
14-
$identifier = strtoupper(substr(str_shuffle(str_repeat('ABCDEFGHIJKLMNPQRSTUVWXYZ123456789', 5)), 0, config('fcea.fursuit_catch_code_length', 5)));
14+
$identifier = strtoupper(substr(str_shuffle(str_repeat('ABCEFGHIJKLMNPRSTUVWXYZ1234567890', 5)), 0, config('fcea.fursuit_catch_code_length', 5)));
1515
} while ($this->model::where($this->column, $identifier)->exists());
1616

1717
return $identifier;

0 commit comments

Comments
 (0)