Commit ba4fad16 authored by Dmitriy Rudko's avatar Dmitriy Rudko 💬
Browse files

fix: [Bug #12645959] Fix linter

parent b63969e9
...@@ -56,11 +56,11 @@ export class AzureDataEcosystemServices extends AbstractDataEcosystemCore { ...@@ -56,11 +56,11 @@ export class AzureDataEcosystemServices extends AbstractDataEcosystemCore {
public static async getPartitionConfiguration(dataPartitionID: string): Promise<any> { public static async getPartitionConfiguration(dataPartitionID: string): Promise<any> {
const credentials = AzureCredentials.getCredential() const credentials = AzureCredentials.getCredential()
const access_token = credentials.getToken(AzureConfig.SP_APP_RESOURCE_ID) const accessToken = credentials.getToken(AzureConfig.SP_APP_RESOURCE_ID)
const options = { const options = {
headers: { headers: {
'Accept': 'application/json', 'Accept': 'application/json',
'Authorization': `Bearer ${access_token}`, 'Authorization': `Bearer ${accessToken}`,
'Content-Type': 'application/json' 'Content-Type': 'application/json'
}, },
url: AzureConfig.DES_SERVICE_HOST_PARTITION + '/api/partition/v1/partitions/' + dataPartitionID url: AzureConfig.DES_SERVICE_HOST_PARTITION + '/api/partition/v1/partitions/' + dataPartitionID
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment