Spaces:
Running
Running
Update Bubble_API_Calls.py
Browse files- Bubble_API_Calls.py +1 -1
Bubble_API_Calls.py
CHANGED
@@ -97,7 +97,7 @@ def fetch_posts_from_bubble(org_urn: str):
|
|
97 |
return None, error_msg
|
98 |
|
99 |
base_url = "https://app.ingaze.ai/version-test/api/1.1/obj/LI_posts"
|
100 |
-
constraints = [{"key": "
|
101 |
params = {'constraints': json.dumps(constraints)}
|
102 |
headers = {"Authorization": f"Bearer {bubble_api_key}"}
|
103 |
|
|
|
97 |
return None, error_msg
|
98 |
|
99 |
base_url = "https://app.ingaze.ai/version-test/api/1.1/obj/LI_posts"
|
100 |
+
constraints = [{"key": "organization_urn", "constraint_type": "equals", "value": org_urn}]
|
101 |
params = {'constraints': json.dumps(constraints)}
|
102 |
headers = {"Authorization": f"Bearer {bubble_api_key}"}
|
103 |
|