Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
shrir committed Sep 11, 2024
1 parent 487281a commit f2deb3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/domain/opportunities/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ async def scan(

# Check if opportunity with the same company already exists
opportunity_statement = select(Opportunity.id).where(
and_(Opportunity.company_id == job_post.company.id, Opportunity.tenant_id == tenant_id)
and_(Opportunity.company_id == job_post.company.id, Opportunity.tenant_id == icp.tenant_id)
)
opportunity_results = await self.repository.session.execute(statement=opportunity_statement)
opportunity_ids = [result[0] for result in opportunity_results]
Expand Down

0 comments on commit f2deb3c

Please sign in to comment.