mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 06:42:32 -05:00
fix role validation
This commit is contained in:
1 parent
c0df8e0ec3
commit
cdfecb2a8f
1 file changed
+1
-1
@@ -94,7 +94,7 @@ module Submitters
|
||||
end
|
||||
|
||||
def fetch_fields(template, submitter_name: nil, for_submitter: nil)
|
||||
if submitter_name
|
||||
if submitter_name && !for_submitter
|
||||
submitter =
|
||||
template.submitters.find { |e| e['name'] == submitter_name } ||
|
||||
raise(UnknownSubmitterName,
|
||||
|
||||
Reference in new issue
Block a user