Skip to content

Commit

Permalink
Enable to notify of modules failing to remove their data
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonVides committed Sep 23, 2022
1 parent e84f610 commit 0e92859
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mongoose_hooks.erl
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@ does_user_exist(HostType, Jid, RequestType) ->
-spec remove_domain(HostType, Domain) -> Result when
HostType :: binary(),
Domain :: jid:lserver(),
Result :: ok.
Result :: #{failed => [module()]}.
remove_domain(HostType, Domain) ->
run_hook_for_host_type(remove_domain, HostType, #{}, [HostType, Domain]).
run_hook_for_host_type(remove_domain, HostType, #{failed => []}, [HostType, Domain]).

-spec node_cleanup(Node :: node()) -> Acc :: map().
node_cleanup(Node) ->
Expand Down

0 comments on commit 0e92859

Please sign in to comment.