Skip to content

Commit

Permalink
make pages visible by default (#62)
Browse files Browse the repository at this point in the history
Co-authored-by: ryana-ccbill <ryanabl@ccbill.com>
  • Loading branch information
ryanskandal and ryana-ccbill authored Jan 13, 2025
1 parent 0010e98 commit 3606f8d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions automation/service/apigee_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ def add_update_remote_page(session, portal_id: str, org_name: str, page_id: int,
'name': re.sub('([-]+)', r' ', friendly_id).lower().title(),
'friendlyId': friendly_id,
'description': '',
'orgname': org_name}
'orgname': org_name,
'anonAllowed': True}
response = session.post(url, json=data)

if response.status_code != 200:
Expand Down Expand Up @@ -86,4 +87,4 @@ def delete_remote_page(session, portal_id: str, page_id: int):
if response.status_code != 200:
print(utils.print_error(response))
else:
print('Successfully deleted ' + str(page_id) + ' from Apigee portal!')
print('Successfully deleted ' + str(page_id) + ' from Apigee portal!')

0 comments on commit 3606f8d

Please sign in to comment.