[#12898] Fix endless loading in pubchats

This commit is contained in:
Roman Volosovskyi 2021-12-13 13:52:59 +02:00
parent a6102c1133
commit 356dd89147
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 3 additions and 2 deletions

View File

@ -184,8 +184,9 @@
(fx/defn handle-successful-request
{:events [::request-success]}
[{:keys [db]} response-js]
{:db (dissoc db :mailserver/current-request)})
[{:keys [db] :as cofx} response-js]
{:db (dissoc db :mailserver/current-request)
:dispatch [:sanitize-messages-and-process-response response-js]})
(fx/defn process-next-messages-request
{:events [::request-messages]}