mirror of
https://github.com/tcgdex/javascript-sdk.git
synced 2025-07-31 09:41:57 +00:00
Updated API url
Signed-off-by: Avior <florian.bouillon@delta-wings.net> Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
@@ -18,7 +18,7 @@ export default class TCGdex {
|
||||
|
||||
|
||||
private getBaseUrl() {
|
||||
return `https://api.tcgdex.net/${this.getLang()}`
|
||||
return `https://api.tcgdex.net/v1/${this.getLang()}`
|
||||
}
|
||||
|
||||
private gbu() {
|
||||
@@ -70,7 +70,7 @@ export default class TCGdex {
|
||||
return list.list
|
||||
}
|
||||
|
||||
private rwgr<T>(url: string) {
|
||||
private rwgr<T = any>(url: string) {
|
||||
return RequestWrapper.getRequest<T>(url)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user