Skip to content

Commit

Permalink
Pass form handle to subscribe function
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmitchell committed Sep 4, 2024
1 parent ad2f8bb commit e40a973
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Subscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ public static function fromSubmission(Submission $submission): ?self
return null;
}

$config['form'] = $form->handle();

return new self($submission->data(), $config);
}

Expand Down

0 comments on commit e40a973

Please sign in to comment.