diff --git a/core/src/main/scala/com/microsoft/azure/synapse/ml/logging/Usage/FabricTokenServiceClient.scala b/core/src/main/scala/com/microsoft/azure/synapse/ml/logging/Usage/FabricTokenServiceClient.scala index 05da3fed70..66bbdaf84d 100644 --- a/core/src/main/scala/com/microsoft/azure/synapse/ml/logging/Usage/FabricTokenServiceClient.scala +++ b/core/src/main/scala/com/microsoft/azure/synapse/ml/logging/Usage/FabricTokenServiceClient.scala @@ -51,7 +51,6 @@ class FabricTokenServiceClient { ) val url = s"$synapseTokenServiceEndpoint/api/v1/proxy${targetUrl.getPath}/access?resource=$resource" - val response: JsValue = CommonUtils.requestGet(url, headers, "content") - response.toString().getBytes("UTF-8").toString + CommonUtils.requestGet(url, headers, "content").toString().getBytes("UTF-8").toString } }