diff --git a/router.jl b/router.jl index 38204e4..3ada231 100644 --- a/router.jl +++ b/router.jl @@ -9,7 +9,7 @@ restp(p, app...) = branch(req -> restpath!(p, req), app...) function torrentdl(query::AbstractString) global rpc, me TransmissionRPC.getauth(rpc) - todl = RuTrackers.getdiscography(query) + todl = RuTrackers.getdiscography(me, query) add.(Ref(rpc), RuTrackers.download.(Ref(me), todl)) end