auto-claude: subtask-5-1 - Fix opening_hours and photos data passing in audit_company
Fixed a bug where google_opening_hours and google_photos_count were being fetched from the Google Places API but not passed through to the result dictionary correctly: - Changed 'opening_hours' key to 'google_opening_hours' to match what save_audit_result() expects - Added 'google_photos_count' to the result dictionary Verified with dry-run: INPI company now shows opening hours schedule and 10 photos count from Google Business Profile. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
5f18a228b1
commit
5ed97ac1dd
@ -968,14 +968,16 @@ class SocialMediaAuditor:
|
||||
result['google_reviews'] = {
|
||||
'google_rating': details.get('google_rating'),
|
||||
'google_reviews_count': details.get('google_reviews_count'),
|
||||
'opening_hours': details.get('opening_hours'),
|
||||
'google_opening_hours': details.get('opening_hours'),
|
||||
'google_photos_count': details.get('google_photos_count'),
|
||||
'business_status': details.get('business_status'),
|
||||
}
|
||||
else:
|
||||
result['google_reviews'] = {
|
||||
'google_rating': None,
|
||||
'google_reviews_count': None,
|
||||
'opening_hours': None,
|
||||
'google_opening_hours': None,
|
||||
'google_photos_count': None,
|
||||
'business_status': None,
|
||||
}
|
||||
else:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user