fix templates api page when new installation

This commit is contained in:
Alex Turchyn committed 2023-08-15 21:39:25 +03:00
1 parent 47c57158f4
commit 130c91178f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ module Api
def show
render json: @template.as_json(include: { author: { only: %i[id email first_name last_name] },
documents: { only: %i[id filename uuid], methods: %i[url] } })
documents: { only: %i[id uuid], methods: %i[url filename] } })
end
def update