Skip to content

Commit

Permalink
Fixed problem during merge of last PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
gbastien committed Nov 16, 2021
1 parent d84decc commit 77ee3ac
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/imio/restapi/services/add.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,9 @@ def _reply(self):
if "__children__" in self.data:
children = self.data.pop("__children__")
self.request.set("BODY", json.dumps(self.data))

result = super(FolderPost, self).reply()
result = self.do_reply()
if "error" in result:
return result

result = self.do_reply()
self.wf_transitions(result)
self._after_reply_hook(result)
result["@warnings"] = self.warnings
Expand Down

0 comments on commit 77ee3ac

Please sign in to comment.