Skip to content

Commit

Permalink
Fixing delete for issue SatelliteQE#84
Browse files Browse the repository at this point in the history
  • Loading branch information
chbrown13 committed Aug 4, 2017
1 parent d930c5b commit 6c91309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion satellite_populate/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def action_delete(self, rendered_action_data, action_data, search, model,

# currently only works based on a single id
# should iterate all results and delete one by one?
model(id=entity_id).delete()
search_result.delete()
self.logger.info("delete: %s %s", model, entity_id)

def validate(self, rendered_action_data, action_data, search, action):
Expand Down

0 comments on commit 6c91309

Please sign in to comment.