Skip to content

Commit d575150

Browse files
authored
Remove update route as it is not used
This block got included accidentally
1 parent 796cd92 commit d575150

File tree

1 file changed

+0
-10
lines changed
  • python-flask-directory-sync-example

1 file changed

+0
-10
lines changed

python-flask-directory-sync-example/app.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,6 @@ def directory_groups():
5252

5353
return render_template('groups.html', groups=groups)
5454

55-
@app.route('/update_org', methods=['GET', 'POST'])
56-
def update_org():
57-
print(request)
58-
response = workos_client.organizations.update_organization(
59-
organization="org_01FGM2T96YX19Z4HENZ1AC7848",
60-
name="Planet Express",
61-
domains=["newboom.com", "workos.com", "hotmail.com", "boom.com"]
62-
)
63-
print(json.dumps(response))
64-
return json.dumps(response)
6555

6656
@app.route('/webhooks', methods=['GET', 'POST'])
6757
def webhooks():

0 commit comments

Comments
 (0)