mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 06:52:33 -05:00
allow to permanently delete submissions
This commit is contained in:
1 parent
781ccc701d
commit
8c092eba78
2 files changed
+8
-4
No files matched your search
@@ -71,7 +71,7 @@ module Api
|
||||
end
|
||||
|
||||
def destroy
|
||||
if params[:permanently] == 'true' && !Docuseal.multitenant?
|
||||
if params[:permanently] == 'true'
|
||||
@template.destroy!
|
||||
else
|
||||
@template.update!(archived_at: Time.current)
|
||||
|
||||
Reference in new issue
Block a user