kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
style(music): Correct codestyling of views
rodzic
e8b7da9744
commit
590d01c11b
|
@ -836,9 +836,7 @@ class Search(views.APIView):
|
|||
}
|
||||
except django.db.utils.ProgrammingError as e:
|
||||
if "in tsquery:" in str(e):
|
||||
return Response(
|
||||
{"detail": "Invalid query"}, status=400
|
||||
)
|
||||
return Response({"detail": "Invalid query"}, status=400)
|
||||
else:
|
||||
raise
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue