File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ def get_new_or_modified_appeals(self):
9999 else :
100100 # get latest BILATERALS
101101 logger .info ("Querying appeals API for new appeals data (bilateral)" )
102- url = "https://go-api-minimal .ifrc.org/api/appealbilaterals"
102+ url = "https://go-api.ifrc.org/api/appealbilaterals"
103103 auth = (settings .APPEALS_USER , settings .APPEALS_PASS )
104104
105105 adapter = HTTPAdapter (max_retries = settings .RETRY_STRATEGY )
@@ -128,7 +128,7 @@ def get_new_or_modified_appeals(self):
128128
129129 # get latest APPEALS
130130 logger .info ("Querying appeals API for new appeals data" )
131- url = "https://go-api-minimal .ifrc.org/api/appeals" # DEBUG: can append filter ?app_code=MDRDJ003
131+ url = "https://go-api.ifrc.org/api/appeals" # DEBUG: can append filter ?app_code=MDRDJ003
132132 # try 3 times to reach the API
133133 try :
134134 response = sess .get (url , auth = auth )
Original file line number Diff line number Diff line change 1717from main .sentry import SentryMonitor
1818
1919CRON_NAME = "sync_appealdocs"
20- PUBLIC_SOURCE = "https://go-api-minimal .ifrc.org/api/publicsiteappeals?Hidden=false&BaseAppealnumber="
21- FEDNET_SOURCE = "https://go-api-minimal .ifrc.org/Api/FedNetAppeals?Hidden=false&BaseAppealnumber="
20+ PUBLIC_SOURCE = "https://go-api.ifrc.org/api/publicsiteappeals?Hidden=false&BaseAppealnumber="
21+ FEDNET_SOURCE = "https://go-api.ifrc.org/Api/FedNetAppeals?Hidden=false&BaseAppealnumber="
2222# Recently not needed, due to all docs are in the above ^ ones:
23- # DONOR_SOURCE = "https://go-api-minimal .ifrc.org/api/PublicSiteDonorResponses?AppealCode="
23+ # DONOR_SOURCE = "https://go-api.ifrc.org/api/PublicSiteDonorResponses?AppealCode="
2424
2525
2626class Command (BaseCommand ):
You can’t perform that action at this time.
0 commit comments