Skip to content

Commit

Permalink
logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Romanelaf committed Jul 16, 2024
1 parent b37713b commit 5653e09
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/nomalab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ 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}`,
{
Expand All @@ -411,6 +412,9 @@ export class Nomalab {
credentials: "include",
},
);
console.log("REQUEST", request);
console.log("arg", optionalArg);
console.log("headers", myHeaders);
return fetch(request);
}
#contextSubDomain(): string {
Expand Down

0 comments on commit 5653e09

Please sign in to comment.