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