flower comment supported
This commit is contained in:
@@ -301,7 +301,7 @@ public class FlowerApiController : BaseController
|
||||
|
||||
var loc = database.Records
|
||||
.OrderByDescending(r => r.DateUnixTime)
|
||||
.FirstOrDefault(r => r.FlowerId == id && (r.EventId == (int)EventTypes.Move || r.EventId == (int)EventTypes.Born));
|
||||
.SingleOrDefault(r => r.FlowerId == id && (r.EventId == (int)EventTypes.Move || r.EventId == (int)EventTypes.Born));
|
||||
if (loc != null)
|
||||
{
|
||||
item.Location = loc.Memo;
|
||||
|
Reference in New Issue
Block a user