From e7d0c96317bb50222f721ae936505d9ce4433668 Mon Sep 17 00:00:00 2001 From: Ivan Pushkarev Date: Mon, 4 Dec 2023 16:36:18 +0100 Subject: [PATCH] fix: default skip_approval to False --- src/personio_py/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/personio_py/client.py b/src/personio_py/client.py index b26ce2d..47b3c37 100644 --- a/src/personio_py/client.py +++ b/src/personio_py/client.py @@ -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']):