Skip to content
Snippets Groups Projects
Commit 889b8143 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Fix bug

parent aa2fa227
Branches
Tags
No related merge requests found
......@@ -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]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment