🐛 Fix file reference created with wrong date
This commit is contained in:
@@ -26,7 +26,7 @@ public static class SoftDeleteExtension
|
||||
var method = typeof(SoftDeleteExtension)
|
||||
.GetMethod(nameof(SetSoftDeleteFilter), BindingFlags.NonPublic | BindingFlags.Static)!
|
||||
.MakeGenericMethod(entityType.ClrType);
|
||||
method.Invoke(null, new object[] { modelBuilder });
|
||||
method.Invoke(null, [modelBuilder]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -129,7 +129,7 @@ public class SnCloudFileReference : ModelBase
|
||||
/// <returns>The protobuf message representation of this object</returns>
|
||||
public CloudFileReference ToProtoValue()
|
||||
{
|
||||
return new Proto.CloudFileReference
|
||||
return new CloudFileReference
|
||||
{
|
||||
Id = Id.ToString(),
|
||||
FileId = FileId,
|
||||
|
||||
Reference in New Issue
Block a user