Skip to content

Commit

Permalink
[facebook] rename content_unavailable, blocked_by_login, browser_not_…
Browse files Browse the repository at this point in the history
…supported
  • Loading branch information
naisanzaa committed Jan 12, 2025
1 parent 0032e94 commit 7f550de
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions automon/integrations/facebook/groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,6 @@ def title(self) -> str:

def to_dict(self):
return dict(
content_unavailable=self.content_unavailable(),
creation_date=self.creation_date(),
creation_date_timestamp=self.creation_date_timestamp(),
history=self.history(),
Expand All @@ -690,13 +689,13 @@ def to_dict(self):
title=self.title(),
url=self.url,
visible=self.visible(),
blocked_by_login=self.blocked_by_login(),
browser_not_supported=self.browser_not_supported(),
check_blocked_by_login=self.check_blocked_by_login(),
check_browser_not_supported=self.check_browser_not_supported(),
check_content_unavailable=self.check_content_unavailable(),
)

def to_empty(self):
return dict(
content_unavailable=self.content_unavailable(),
creation_date=None,
creation_date_timestamp=None,
history=None,
Expand All @@ -711,8 +710,9 @@ def to_empty(self):
title=None,
url=self.url,
visible=None,
blocked_by_login=None,
browser_not_supported=None,
check_blocked_by_login=None,
check_browser_not_supported=None,
check_content_unavailable=self.content_unavailable(),
)

@property
Expand Down

0 comments on commit 7f550de

Please sign in to comment.