|
@@ -73,7 +73,7 @@ public class DefaultFileStorage : IFileStorage, IScopeDependency
|
|
|
throw new UserFriendlyException("无权限访问");
|
|
|
}
|
|
|
|
|
|
- public async Task<Uri> GetFileUrlIndefinitely(string id, string clientId)
|
|
|
+ public async Task<Uri> GetFileUrlIndefinitelyAsync(string id, string clientId)
|
|
|
{
|
|
|
var fileMetadata = await _fileMetadataRepository.GetAsync(x => x.Id == id && x.Client == clientId);
|
|
|
if (fileMetadata != null)
|