use :topic instead :topics for pending messages from realm

This commit is contained in:
Roman Volosovskyi 2017-05-17 12:58:33 +03:00
parent f7d57336d3
commit 0919b4364e
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@
{:pre [(valid? :delivery/pending-message pending-message)]}
(debug :add-prepeared-pending-message!)
(let [message (-> pending-message
(select-keys [:sig :key :topics :payload])
(select-keys [:sig :key :topic :payload])
(assoc :type key-type))
pending-message' (assoc pending-message :message message
:id message-id)]