Skip to content

Commit

Permalink
Merge pull request #89 from liberu-genealogy/sweep/fix_dna_upload
Browse files Browse the repository at this point in the history
Sweep: fix dna upload (✓ Sandbox Passed)
  • Loading branch information
curtisdelicata committed Mar 10, 2024
2 parents e91fd9e + 93ec504 commit 4b5b725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Filament/Resources/DnaResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static function form(Form $form): Form
{
return $form->schema([
Forms\Components\TextInput::make('name')->required()->maxLength(255),
FileUpload::make('attachment')->required()->maxSize(100000)->directory('dna-form-imports')->visibility('private')->afterStateUpdated(ImportDna::dispatch($request->user(), $manager->storagePath($path), $state)),
FileUpload::make('attachment')->required()->maxSize(100000)->directory('dna-form-imports')->visibility('private')->afterStateUpdated(DnaMatching::dispatch($request->user(), $manager->storagePath($path), $state)),
]);
}

Expand Down

0 comments on commit 4b5b725

Please sign in to comment.