mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-02 19:05:32 -04:00
Add API to fetch download queue
This commit is contained in:
parent
d3d8dff6d2
commit
4ca8daca29
@ -129,5 +129,10 @@ class APIRouter < Router
|
||||
send_json env, {"error" => e.message}.to_json
|
||||
end
|
||||
end
|
||||
|
||||
get "/api/admin/mangadex/queue" do |env|
|
||||
jobs = @context.queue.get_all
|
||||
send_json env, jobs.to_json
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user