Chrunos commited on
Commit
ef388a2
·
verified ·
1 Parent(s): ddfd898

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ async def get_track_download_url(track_id: str) -> str:
60
 
61
  @app.route('/track_dl', methods=['POST'])
62
  async def track_dl():
63
- track_id = request.json.get('track_id', '')
64
  dl_url = await get_track_download_url()
65
  result = {"url": dl_url}
66
  return jsonify(result)
 
60
 
61
  @app.route('/track_dl', methods=['POST'])
62
  async def track_dl():
63
+ track_id = request.json.get('track_id')
64
  dl_url = await get_track_download_url()
65
  result = {"url": dl_url}
66
  return jsonify(result)