diff --git a/backend/btrixcloud/basecrawls.py b/backend/btrixcloud/basecrawls.py index f315e9b5..cf03bdea 100644 --- a/backend/btrixcloud/basecrawls.py +++ b/backend/btrixcloud/basecrawls.py @@ -149,10 +149,9 @@ class BaseCrawlOps: crawlid: str, org: Optional[Organization] = None, type_: Optional[str] = None, - project: Optional[dict[str, bool]] = None, ) -> BaseCrawl: """Get crawl data for internal use""" - res = await self.get_crawl_raw(crawlid, org, type_, project) + res = await self.get_crawl_raw(crawlid, org, type_) return BaseCrawl.from_dict(res) async def get_crawl_out( diff --git a/backend/btrixcloud/crawls.py b/backend/btrixcloud/crawls.py index 6be71e57..0e106e0e 100644 --- a/backend/btrixcloud/crawls.py +++ b/backend/btrixcloud/crawls.py @@ -98,10 +98,9 @@ class CrawlOps(BaseCrawlOps): self, crawlid: str, org: Optional[Organization] = None, - project: Optional[dict[str, bool]] = None, ) -> Crawl: """Get crawl data for internal use""" - res = await self.get_crawl_raw(crawlid, org, "crawl", project) + res = await self.get_crawl_raw(crawlid, org, "crawl") return Crawl.from_dict(res) @contextlib.asynccontextmanager @@ -479,7 +478,7 @@ class CrawlOps(BaseCrawlOps): """add new exclusion to config or remove exclusion from config for given crawl_id, update config on crawl""" - crawl = await self.get_crawl(crawl_id, org, project={"cid": True}) + crawl = await self.get_crawl(crawl_id, org) cid = crawl.cid