about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-02-02 16:57:09 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-02-02 16:57:09 +0100
commit889b814385b55785cec98de4dd26f2986e705052 (patch)
tree1d29a3998e659f57005254b1e0979fdb6ce24915
parentaa2fa227e9cdd5aa4f8facd93775f6180e44a17b (diff)
Fix bug
-rw-r--r--app/channels/application_cable/channel.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/channels/application_cable/channel.rb b/app/channels/application_cable/channel.rb
index f57bcc56a..344511cae 100644
--- a/app/channels/application_cable/channel.rb
+++ b/app/channels/application_cable/channel.rb
@@ -5,11 +5,11 @@ module ApplicationCable
     protected
 
     def hydrate_status(encoded_message)
-      message = OJ.load(encoded_message)
+      message = Oj.load(encoded_message)
 
       return [nil, message] if message['event'] == 'delete'
 
-      status_json = OJ.load(message['payload'])
+      status_json = Oj.load(message['payload'])
       status      = Status.find(status_json['id'])
 
       [status, message]