GuglielmoTor commited on
Commit
e0f2ba1
·
verified ·
1 Parent(s): e06a10d

Update Bubble_API_Calls.py

Browse files
Files changed (1) hide show
  1. 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": "author_urn", "constraint_type": "equals", "value": org_urn}]
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