diff options
author | multiple creatures <dev@multiple-creature.party> | 2020-02-16 02:50:41 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-02-16 02:50:41 -0600 |
commit | 69bcd23c89d5d4dc35d6a0a52da2ac3ac4c2d500 (patch) | |
tree | c4f7ac197dead3214ab49b907d596d94a9448c7e | |
parent | a9da3ce93b8c5236bfca0f99cc88b5aba86ab186 (diff) |
symbolize options hash
-rw-r--r-- | app/workers/post_status_worker.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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? |