@cryptotaxi247 / CoPilot / commits / 2dc611e8

Shuffle API Verification (#82)

modified to speed up shuffle verification...when attempting to load all apps, it was taking a long time to return a success due to how much data shuffle returns when returning all apps

taylor_socfortress committed Jul 31, 2023 at 09:11 UTC 2dc611e85f7d2e5448e83236883b84cac4e2f344
1 file changed +1 -1
backend/app/models/connectors.py
+1 -1
@@ -242,7 +242,7 @@ class ShuffleConnector(Connector):
242 "Authorization": f"Bearer {self.attributes['connector_api_key']}",
243 }
244 shuffle_apps = requests.get(
245 - f"{self.attributes['connector_url']}/api/v1/apps",
245 + f"{self.attributes['connector_url']}/api/v1/apps/authentication",
246 headers=headers,
247 verify=False,
248 )