mirror of
https://github.com/tcgdex/javascript-sdk.git
synced 2025-07-19 05:09:51 +00:00
Reworked Request (#10)
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
@ -179,7 +179,7 @@ export default class TCGdex {
|
||||
// eslint-disable-next-line no-misleading-character-class
|
||||
.replace(/["'\u0300-\u036f]/gu, '')
|
||||
)).join('/')
|
||||
return RequestWrapper.getRequest<T>(`${BASE_URL}/${this.getLang()}/${path}`).get()
|
||||
return RequestWrapper.fetch<T>(`${BASE_URL}/${this.getLang()}/${path}`)
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user