rename method

This commit is contained in:
Jacob Overgaard
2023-10-24 11:19:07 +02:00
parent 41bc048536
commit 55a3f141df

View File

@@ -195,7 +195,7 @@ export class UmbAppElement extends UmbLitElement {
await this.#authContext.setInitialState();
// Instruct all requests to use the auth flow to get and use the access_token for all subsequent requests
OpenAPI.TOKEN = () => this.#authContext!.performWithFreshTokens();
OpenAPI.TOKEN = () => this.#authContext!.getLatestToken();
OpenAPI.WITH_CREDENTIALS = true;
}