Browse Source

Update FileSystemDocumentSource.cs

pull/22891/head
SALİH ÖZKARA 1 year ago
committed by GitHub
parent
commit
0ba1aa54ef
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      modules/docs/src/Volo.Docs.Domain/Volo/Docs/FileSystem/Documents/FileSystemDocumentSource.cs

2
modules/docs/src/Volo.Docs.Domain/Volo/Docs/FileSystem/Documents/FileSystemDocumentSource.cs

@ -32,7 +32,7 @@ namespace Volo.Docs.FileSystem.Documents
localDirectory = documentName.Substring(0, documentName.LastIndexOf('/')); localDirectory = documentName.Substring(0, documentName.LastIndexOf('/'));
} }
version = File.GetLastWriteTime(path).ToString("yyyyMMddHHmmss"); version = "1.0.0";
return new Document(GuidGenerator.Create(), return new Document(GuidGenerator.Create(),
project.Id, project.Id,

Loading…
Cancel
Save