add null to status

This commit is contained in:
thuannd88
2024-09-16 23:46:33 +07:00
parent 33214ad7fa
commit c1268760b2
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -416,11 +416,11 @@ namespace SafeBagDE70
item.IsSent = true;
context.Update(item);
context.SaveChanges();
Log.Information("Resend: " + data2Send + " successfully");
Log.Information("Resend: " + item.Data + " successfully");
}
else
{
Log.Error("Resend: " + data2Send + " failed");
Log.Error("Resend: " + item.Data + " failed");
}
}
}
+1 -1
View File
@@ -38,7 +38,7 @@ namespace SafeBagDE70.Model
public DateTime? SyncTime { get; set; }
public string Status { get; set; }
public string? Status { get; set; }
}
public class DeviceEvent
{