diff --git a/src/nomalab.ts b/src/nomalab.ts index bfe4174..dae90cc 100644 --- a/src/nomalab.ts +++ b/src/nomalab.ts @@ -30,6 +30,7 @@ export class Nomalab { } async getShow(showUuid: string): Promise { + console.log("GET SHOW"); const response = await this.#fetch(`shows/${showUuid}`, {}); if (!response.ok) { this.#throwError( @@ -400,6 +401,9 @@ export class Nomalab { `sessionJwt=${optionalArg.cookieHeader["sessionJwt"]}`, ); } + console.log( + `https://${this.#contextSubDomain()}.nomalab.com/v3/${partialUrl}`, + ); const request = new Request( `https://${this.#contextSubDomain()}.nomalab.com/v3/${partialUrl}`, { @@ -411,6 +415,9 @@ export class Nomalab { credentials: "include", }, ); + console.log("REQUEST", request); + console.log("arg", optionalArg); + console.log("headers", myHeaders); return fetch(request); } #contextSubDomain(): string {