Browse Source

Don't include bucket name in image id

master
Daniel Gyulai 4 years ago
parent
commit
56220f6c14
  1. 2
      CoviDok/BLL/Storage/StorageHandler.cs

2
CoviDok/BLL/Storage/StorageHandler.cs

@ -31,7 +31,7 @@ namespace CoviDok.BLL.Storage
} }
// Upload a file to bucket. // Upload a file to bucket.
await storageProvider.Upload(BucketName, ObjectName, FilePath, size); await storageProvider.Upload(BucketName, ObjectName, FilePath, size);
return new StorageResult(true, BucketName + ":" + ObjectName); return new StorageResult(true, ObjectName);
} }
catch (Exception e) catch (Exception e)
{ {

Loading…
Cancel
Save