add signature verification

This commit is contained in:
Alex Turchyn committed 2023-06-24 12:27:34 +03:00
1 parent 0ac30a5fc0
commit c9e255f589
19 files changed
+231 -61

No files matched your search

@@ -12,7 +12,7 @@ module Api
attachment = ActiveStorage::Attachment.create!(
blob:,
name: params[:name],
record: submitter || current_account
record: submitter
)
render json: attachment.as_json(only: %i[uuid], methods: %i[url filename content_type])