Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Backend/dotnet/src/Services/OneLakeClientService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public OneLakeClientService(

public async Task<bool> CheckIfFileExists(string token, string filePath)
{
var url = $"{EnvironmentConstants.OneLakeDFSBaseUrl}/{filePath}?resource=file";
var url = $"{EnvironmentConstants.OneLakeDFSBaseUrl}/{filePath}";

try
{
Expand Down
2 changes: 1 addition & 1 deletion Backend/python/src/services/onelake_client_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async def check_if_file_exists(self, token: str, file_path: str) -> bool:
"""
Checks if a file exists in OneLake storage.
"""
url = f"{EnvironmentConstants.ONELAKE_DFS_BASE_URL}/{file_path}?resource=file"
url = f"{EnvironmentConstants.ONELAKE_DFS_BASE_URL}/{file_path}"

try:
response = await self.http_client_service.head(url, token)
Expand Down
Loading