Skip to content

Commit

Permalink
Add default return value to task doc value pop
Browse files Browse the repository at this point in the history
  • Loading branch information
munrojm committed Sep 9, 2022
1 parent 59b05bc commit 6787018
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions emmet-api/emmet/api/routes/tasks/query_operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ def post_process(self, docs, query):
"""

for doc in docs:
doc.pop("tags")
doc.pop("sbxn")
doc.pop("dir_name")
doc.pop("tags", None)
doc.pop("sbxn", None)
doc.pop("dir_name", None)

return docs

Expand Down

0 comments on commit 6787018

Please sign in to comment.