Fix wrong route helper in encrypted messages controller (#13952)

And add `created_at` to encrypted message serializer
This commit is contained in:
Eugen Rochko
2020-06-03 20:32:15 +02:00
committed by GitHub
parent 77619b1654
commit f669b8bcce
2 changed files with 4 additions and 3 deletions

View File

@@ -2,7 +2,8 @@
class REST::EncryptedMessageSerializer < ActiveModel::Serializer
attributes :id, :account_id, :device_id,
:type, :body, :digest, :message_franking
:type, :body, :digest, :message_franking,
:created_at
def id
object.id.to_s