Skip to content

Commit

Permalink
bug fix: take org id out of the dict (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
NileshPant1999 authored May 18, 2023
1 parent 2471894 commit de73598
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/bamboohr/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ def create(self, validated_data):
}
}
configuration, _ = BambooHrConfiguration.objects.update_or_create(
org_id=org,
recipe_id=recipes[0]['id'],
defaults={
'org_id':org,
'recipe_id': recipes[0]['id'],
'recipe_status': True,
'recipe_data': recipes[0]['code'],
'additional_email_options': validated_data['additional_email_options'],
Expand Down

0 comments on commit de73598

Please sign in to comment.