Chrunos commited on
Commit
bae3b41
·
verified ·
1 Parent(s): 20ab8e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -93,7 +93,7 @@ def extract_track_info(entities_by_unique_id: dict, platform: str):
93
 
94
  @app.route('/match', methods=['POST'])
95
  async def match():
96
- data = request.json()
97
  track_url = data.get('url')
98
 
99
  if not track_url:
 
93
 
94
  @app.route('/match', methods=['POST'])
95
  async def match():
96
+ data = request.json
97
  track_url = data.get('url')
98
 
99
  if not track_url: