I have an endpoint returning a FileResponse. When I use a code like the following I get an error \'read of closed file\' The code looks like this:
@action