mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-02-03 00:31:25 -08:00
check community.ap_outbox_url
This commit is contained in:
parent
19bd90475a
commit
7a7a1fe0d4
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ def retrieve_mods_and_backfill(community_id: int):
|
||||||
return
|
return
|
||||||
|
|
||||||
# download 50 old posts
|
# download 50 old posts
|
||||||
if community.ap_public_url:
|
if community.ap_outbox_url:
|
||||||
outbox_request = get_request(community.ap_outbox_url, headers={'Accept': 'application/activity+json'})
|
outbox_request = get_request(community.ap_outbox_url, headers={'Accept': 'application/activity+json'})
|
||||||
if outbox_request.status_code == 200:
|
if outbox_request.status_code == 200:
|
||||||
outbox_data = outbox_request.json()
|
outbox_data = outbox_request.json()
|
||||||
|
|
Loading…
Add table
Reference in a new issue