diff --git a/src/optimize/lib/OptimizeApiClient.ts b/src/optimize/lib/OptimizeApiClient.ts index 6d0d8e4f..c1cb01fc 100644 --- a/src/optimize/lib/OptimizeApiClient.ts +++ b/src/optimize/lib/OptimizeApiClient.ts @@ -95,7 +95,7 @@ export class OptimizeApiClient { } private async getHeaders(auth = true) { - const token = await this.oAuthProvider.getToken('OPERATE') + const token = await this.oAuthProvider.getToken('OPTIMIZE') const authHeader: { authorization: string } | Record = auth ? {