mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-03 11:25:29 -04:00
Rename module Mangadex
to MangaDex
This commit is contained in:
parent
6659041631
commit
e8c365b7a1
@ -15,7 +15,7 @@ macro parse_strings_from_json (names)
|
||||
{% end %}
|
||||
end
|
||||
|
||||
module Mangadex
|
||||
module MangaDex
|
||||
class DownloadContext
|
||||
property success = false
|
||||
property url : String
|
||||
|
@ -93,7 +93,7 @@ class APIRouter < Router
|
||||
get "/api/admin/mangadex/manga/:id" do |env|
|
||||
begin
|
||||
id = env.params.url["id"]
|
||||
api = Mangadex::API.new \
|
||||
api = MangaDex::API.new \
|
||||
@context.config.mangadex["api_url"].to_s
|
||||
manga = api.get_manga id
|
||||
send_json env, manga.to_info_json
|
||||
|
Loading…
x
Reference in New Issue
Block a user