fix demo mode

This commit is contained in:
Alex Turchyn committed 2023-07-13 00:34:29 +03:00
1 parent 4ffd198505
commit 03ad848d45
5 files changed
+12 -4

No files matched your search

@@ -3,6 +3,8 @@
module Api
class TemplatesDocumentsController < ApiBaseController
def create
return head :unprocessable_entity if params[:blobs].blank? && params[:files].blank?
@template = current_account.templates.find(params[:template_id])
documents =