diff --git a/pyconkr/external_apis/pretalx/client.py b/pyconkr/external_apis/pretalx/client.py index 838e602..6b39dc6 100644 --- a/pyconkr/external_apis/pretalx/client.py +++ b/pyconkr/external_apis/pretalx/client.py @@ -48,10 +48,7 @@ def list_sessions(self, event_name: str, only_confirmed: bool = True) -> dict: try: result = self._request("GET", endpoint) result.raise_for_status() - - parsed_result = PretalxPaginatedSessionSerializer(data=result.json()) - parsed_result.is_valid(raise_exception=True) - return parsed_result.validated_data + return result.json() except Exception as e: raise PretalxException("세션 목록을 가져오지 못했습니다, 잠시 후에 다시 시도해주세요.") from e @@ -62,10 +59,7 @@ def retrieve_session(self, event_name: str, session_id: int) -> dict: try: result = self._request("GET", endpoint) result.raise_for_status() - - parsed_result = PretalxSessionSerializer(data=result.json()) - parsed_result.is_valid(raise_exception=True) - return parsed_result.validated_data + return result.json() except Exception as e: raise PretalxException("세션을 가져오지 못했습니다, 잠시 후에 다시 시도해주세요.") from e