Add logs
This commit is contained in:
parent
20a333c106
commit
b351d9f839
@ -46,6 +46,11 @@ export default abstract class BaseApiService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected async getRequest<T>(url: URL, token?: string, contentType?: ContentType, ref?: IRef, fileName?: string) {
|
protected async getRequest<T>(url: URL, token?: string, contentType?: ContentType, ref?: IRef, fileName?: string) {
|
||||||
|
console.log("url", url);
|
||||||
|
console.log("token", token);
|
||||||
|
console.log("contentType", contentType);
|
||||||
|
console.log("ref", ref);
|
||||||
|
console.log("fileName", fileName);
|
||||||
await this.checkJwtToken();
|
await this.checkJwtToken();
|
||||||
const request = async () =>
|
const request = async () =>
|
||||||
await fetch(url, {
|
await fetch(url, {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user