Fix wrong route helper in encrypted messages controller (#13952)
And add `created_at` to encrypted message serializer
This commit is contained in:
parent
77619b1654
commit
f669b8bcce
2 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue