(
mode: 'GET' | 'POST' | 'DELETE' | 'PUT',
url,
variables = {},
authentication = true,
)
| 339 | } |
| 340 | |
| 341 | protected apiCall( |
| 342 | mode: 'GET' | 'POST' | 'DELETE' | 'PUT', |
| 343 | url, |
| 344 | variables = {}, |
| 345 | authentication = true, |
| 346 | ) { |
| 347 | return helper.apiCall(mode, url, variables, authentication).catch(e => { |
| 348 | if (e instanceof NotAutenticatedError) throw new NotAutenticatedError(e.message); |
| 349 | throw e; |
| 350 | }); |
| 351 | } |
| 352 | |
| 353 | protected kitsuSlugtoKitsu(kitsuSlug: string, type: any) { |
| 354 | return this.apiCall( |
no outgoing calls
no test coverage detected