mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
adjust view only
This commit is contained in:
1 parent
a29e09ed2f
commit
28168f082d
14 files changed
+60
-43
No files matched your search
@@ -101,7 +101,7 @@ module Api
|
||||
private
|
||||
|
||||
def maybe_return_submitter_error
|
||||
if @submitter.completed_at?
|
||||
if @submitter.completed_at? || @submitter.submission.completed_at?
|
||||
return render json: { error: 'Submitter has already completed the submission.' }, status: :unprocessable_content
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user