mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
validate params
This commit is contained in:
1 parent
6df1d68237
commit
2c2ef97c30
1 file changed
+1
-1
@@ -70,7 +70,7 @@ module Api
|
||||
end
|
||||
|
||||
def create
|
||||
Params::SubmissionCreateValidator.call(params, dry_run: !Docuseal.multitenant?)
|
||||
Params::SubmissionCreateValidator.call(params)
|
||||
|
||||
return render json: { error: 'Template not found' }, status: :unprocessable_entity if @template.nil?
|
||||
|
||||
|
||||
Reference in new issue
Block a user