mirror of
https://github.com/Xevion/v1.xevion.dev.git
synced 2025-12-06 03:16:57 -06:00
fix unreachable code in youtube/all service
This commit is contained in:
@@ -147,7 +147,6 @@ def list(service):
|
||||
def all(service):
|
||||
if service == "youtube":
|
||||
audios = YouTubeAudio.query.all()
|
||||
return jsonify([audio.toJSON(True) for audio in audios])
|
||||
return Response(
|
||||
jsonify([audio.toJSON(True) for audio in audios]),
|
||||
status=200,
|
||||
|
||||
Reference in New Issue
Block a user