Skip to content

Commit

Permalink
Database action fix. (#1109)
Browse files Browse the repository at this point in the history
Co-authored-by: Nupur Khare <[email protected]>
Co-authored-by: udit-pandey <[email protected]>
  • Loading branch information
3 people authored Jan 5, 2024
1 parent fd64c66 commit 6a6540f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kairon/actions/definitions/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def retrieve_config(self):
try:
vector_action_dict = DatabaseAction.objects(bot=self.bot, name=self.name,
status=True).get().to_mongo().to_dict()
vector_action_dict.pop('_id', None)
logger.debug("vector_action_config: " + str(vector_action_dict))
return vector_action_dict
except DoesNotExist as e:
Expand Down

0 comments on commit 6a6540f

Please sign in to comment.