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