add timestamp

This commit is contained in:
David Meincke
2023-05-30 10:26:59 +02:00
parent 3fa130d282
commit ae32af3c9f
3 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -131,7 +131,8 @@ namespace CodeEditorApi.Helpers
var session = new Session
{
Id = Guid.Parse(strId),
NumberOfChanges = files.Length
NumberOfChanges = files.Length,
Timestamp = Directory.GetCreationTime(path)
};
return session;