Skip to content

Commit 04d4987

Browse files
committed
Fixed compilation errors due to refactor
1 parent 8a25b9a commit 04d4987

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

OpenBullet2.Core/Helpers/Mapper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public static class Mapper
1414
Country = proxy.Country,
1515
Host = proxy.Host,
1616
Port = proxy.Port,
17-
LastChecked = proxy.LastChecked,
17+
LastChecked = proxy.LastChecked.Value,
1818
Username = proxy.Username,
1919
Password = proxy.Password,
2020
Ping = proxy.Ping,

OpenBullet2.Core/Models/Proxies/DatabaseProxyCheckOutput.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public async Task StoreAsync(Proxy proxy)
3030
{
3131
var entity = await _proxyRepo.GetAsync(proxy.Id);
3232
entity.Country = proxy.Country;
33-
entity.LastChecked = proxy.LastChecked;
33+
entity.LastChecked = proxy.LastChecked.Value;
3434
entity.Ping = proxy.Ping;
3535
entity.Status = proxy.WorkingStatus;
3636

0 commit comments

Comments
 (0)