[#8064] Fix deletion of a custom mailserver

This commit is contained in:
Roman Volosovskyi 2019-05-01 10:06:42 +03:00
parent f9e5101426
commit 8dc7c8986e
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
[id]
(fn [realm]
(core/delete realm
(core/get-by-field realm :mailserver :id id))))
(core/get-by-field realm :mailserver :id (name id)))))
(defn deserialize-mailserver-topic [serialized-mailserver-topic]
(-> serialized-mailserver-topic