mirror of
https://github.com/docusealco/docuseal
synced 2026-11-09 07:42:32 -05:00
update template submitters
This commit is contained in:
1 parent
80d882cd20
commit
37751cd5c1
1 file changed
+2
-2
@@ -84,9 +84,9 @@ module Api
|
|||||||
|
|
||||||
def template_params
|
def template_params
|
||||||
if params.key?(:template)
|
if params.key?(:template)
|
||||||
params.require(:template).permit(:name)
|
params.require(:template).permit(:name, submitters: [%i[name uuid]])
|
||||||
else
|
else
|
||||||
params.permit(:name)
|
params.permit(:name, submitters: [%i[name uuid]])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user