diff --git a/AutoCat/Controllers/Location/EventsController.swift b/AutoCat/Controllers/Location/EventsController.swift index b203a09..e11f170 100644 --- a/AutoCat/Controllers/Location/EventsController.swift +++ b/AutoCat/Controllers/Location/EventsController.swift @@ -199,7 +199,8 @@ class EventsController: UIViewController, UITableViewDataSource, UITableViewDele if let eventId = event.id { HUD.show(.progress) Api.remove(event: eventId).observeOn(MainScheduler.instance).subscribe(onSuccess: { vehicle in - completion?(self.update(vehicle: vehicle)) + let result = self.update(vehicle: vehicle) + completion?(result) }, onError: { error in completion?(false) HUD.show(error: error)