Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
rugeli committed Nov 10, 2023
1 parent 6f01cfd commit 3e691a2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cellpack/autopack/DBRecipeHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,8 +571,7 @@ def upload_recipe(self, recipe_meta_data, recipe_data):
print(f"{recipe_id} is already in firestore")
return
recipe_to_save = self.upload_collections(recipe_meta_data, recipe_data)
key = self._get_recipe_id(recipe_to_save)
self.upload_data("recipes", recipe_to_save, key)
self.upload_data("recipes", recipe_to_save, recipe_id)

def upload_result_metadata(self, file_name, url):
"""
Expand Down

0 comments on commit 3e691a2

Please sign in to comment.