From 69bcd23c89d5d4dc35d6a0a52da2ac3ac4c2d500 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sun, 16 Feb 2020 02:50:41 -0600 Subject: symbolize options hash --- app/workers/post_status_worker.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/workers/post_status_worker.rb') diff --git a/app/workers/post_status_worker.rb b/app/workers/post_status_worker.rb index e41c80167..6062bb9df 100644 --- a/app/workers/post_status_worker.rb +++ b/app/workers/post_status_worker.rb @@ -4,6 +4,8 @@ class PostStatusWorker include Sidekiq::Worker def perform(status_id, options = {}) + options.symbolize_keys! + status = Status.find(status_id) return false if status.destroyed? -- cgit