Skip to content

Commit

Permalink
Update versioned_docs/version-8.3/apis-tools/tasklist-api/tasklist-ap…
Browse files Browse the repository at this point in the history
…i-tutorial.md

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
christinaausley and github-actions[bot] authored Dec 17, 2024
1 parent f953584 commit ae560c6
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,8 @@ export class TasklistModule implements OnModuleInit {
logger.log("Tasklist credentials fetched");

axiosRef.defaults.baseURL = config.get("TASKLIST_API_ADDRESS");
axiosRef.defaults.headers[
"Authorization"
] = `Bearer ${credentials.access_token}`;
axiosRef.defaults.headers["Authorization"] =
`Bearer ${credentials.access_token}`;
axiosRef.defaults.headers["Content-Type"] = "application/json";
setTimeout(this.onModuleInit.bind(this), credentials.expires_in * 1000); // we need convert minutes to milliseconds
}
Expand Down

0 comments on commit ae560c6

Please sign in to comment.