use json serializer for message verifier

This commit is contained in:
r888888888
2017-11-10 14:37:27 -08:00
parent 9250dd599d
commit 6431dafa80
2 changed files with 3 additions and 1 deletions

View File

@@ -27,5 +27,7 @@ class PostViewCountService
else
return nil
end
rescue JSON::ParserError
nil
end
end