swap order in dispatcher to get less errors posting to services
This commit is contained in:
parent
f826340336
commit
d8bfa52af7
1 changed files with 1 additions and 1 deletions
|
|
@ -55,8 +55,8 @@ class Postzord::Dispatcher
|
|||
|
||||
# @return [Object]
|
||||
def post
|
||||
self.post_to_subscribers if @subscribers.present?
|
||||
self.deliver_to_services(@opts[:url], @opts[:services] || [])
|
||||
self.post_to_subscribers if @subscribers.present?
|
||||
self.process_after_dispatch_hooks
|
||||
@object
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue