diff --git a/src/Actions/GenerateFileIdAction.php b/src/Actions/GenerateFileIdAction.php index 0b37baf..1ac217f 100644 --- a/src/Actions/GenerateFileIdAction.php +++ b/src/Actions/GenerateFileIdAction.php @@ -29,8 +29,8 @@ public function run(): string } return match ($this->method) { - LaruploadSecureIdsMethod::ULID => Str::ulid(), - LaruploadSecureIdsMethod::UUID => Str::uuid(), + LaruploadSecureIdsMethod::ULID => Str::ulid()->toBase32(), + LaruploadSecureIdsMethod::UUID => Str::uuid()->toString(), LaruploadSecureIdsMethod::HASHID => $this->hashid(), default => $this->model->id, };