Skip to content

Commit

Permalink
fix: default skip_approval to False
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Pushkarev committed Dec 4, 2023
1 parent faf5d85 commit e7d0c96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/personio_py/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ def create_attendances(self, attendances: List[Attendance]) -> bool:
response = self.request_json(
path=self.ATTENDANCE_URL,
method='POST',
data={"attendances": data_to_send}
data={"attendances": data_to_send, "skip_approval": False}
)
if response['success']:
for attendance, response_id in zip(attendances, response['data']['id']):
Expand Down

0 comments on commit e7d0c96

Please sign in to comment.