Always try to append the data to the spreadsheet

Authentication errors will be caught an logged, but it should be tried.
Expired tokens will get refreshed if possible.
这个提交包含在:
bumi 2020-04-09 14:46:50 +02:00
父节点 6bfe8fb485
当前提交 17d37edf0b

查看文件

@ -11,10 +11,6 @@ class SubmissionAppendJob < ApplicationJob
def perform(*args)
submission_id = args.first
submission = Submission.find(submission_id)
if submission.form.active?
submission.append_to_spreadsheet
else
Rails.logger.error("Inactive form: submission_id=#{submission_id} form_id=#{submission.form_id}")
end
submission.append_to_spreadsheet
end
end