diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index fba274a8..3ad702d8 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -389,6 +389,7 @@ private function registerFormSubmissions() if (config($usingOldConfigKeys ? 'statamic.eloquent-driver.forms.driver' : 'statamic.eloquent-driver.form_submissions.driver', 'file') != 'eloquent') { return; } + Statamic::repository(FormSubmissionRepositoryContract::class, SubmissionRepository::class); $this->app->bind('statamic.eloquent.form_submissions.model', function () use ($usingOldConfigKeys) {