mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
Update models Messages
This commit is contained in:
@@ -38,7 +38,7 @@ public class LocalStorageService : IStorageService
|
||||
|
||||
public async Task<Stream> LoadAsync(string url)
|
||||
{
|
||||
var filePath = Path.Combine(_storagePath, url); // url уже включает yyyy/MM
|
||||
var filePath = Path.Combine(_storagePath, url);
|
||||
|
||||
if (!File.Exists(filePath))
|
||||
throw new FileNotFoundException("File not found.", filePath);
|
||||
|
||||
Reference in New Issue
Block a user