Skip to content

Commit

Permalink
Update notice_fetcher.py
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptainOfHacks committed Mar 12, 2024
1 parent 3cf3a69 commit ebbfe3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ted_sws/notice_fetcher/services/notice_fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def fetch_notices_by_query(self, query: dict) -> List[str]:
notice_ids = set()
for document in documents:
notice = self._create_notice(notice_data=document)
if check_if_xml_manifestation_is_eform(notice.xml_manifestation.object_data):
if check_if_xml_manifestation_is_eform(notice.xml_manifestation):
notice_ids.add(document["ND"])
self.notice_repository.add(notice=notice)
else:
Expand Down

0 comments on commit ebbfe3e

Please sign in to comment.