update rails

This commit is contained in:
Pete Matsyburka
2025-08-14 09:25:35 +03:00
parent 0cb6b0ae12
commit fcdc44ddbe
26 changed files with 149 additions and 141 deletions
@@ -16,14 +16,14 @@ module Api
if ImageUtils.blank?(image)
Rollbar.error("Empty signature: #{submitter.id}") if defined?(Rollbar)
return render json: { error: "#{params[:type]} is empty" }, status: :unprocessable_entity
return render json: { error: "#{params[:type]} is empty" }, status: :unprocessable_content
end
if ImageUtils.error?(image)
Rollbar.error("Error signature: #{submitter.id}") if defined?(Rollbar)
return render json: { error: "#{params[:type]} error, try to sign on another device" },
status: :unprocessable_entity
status: :unprocessable_content
end
end