fix: use correct attribute name profile.url instead of profile.profile_url in social enrichment
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
bea43cab6e
commit
23b8815e10
@ -939,7 +939,7 @@ def _run_enrichment_background(company_ids):
|
||||
profile_result['status'] = 'no_data'
|
||||
platform_name = profile.platform.lower()
|
||||
if platform_name == 'facebook':
|
||||
if 'profile.php' in (profile.profile_url or ''):
|
||||
if 'profile.php' in (profile.url or ''):
|
||||
profile_result['reason'] = 'Profil osobisty — niedostępny publicznie. Podłącz Graph API dla stron firmowych.'
|
||||
else:
|
||||
profile_result['reason'] = 'Facebook blokuje dostęp publiczny. Podłącz Graph API (OAuth), aby pobierać dane.'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user