This commit is contained in:
@@ -133,7 +133,7 @@ namespace AyaNova.Api.Controllers
|
||||
return BadRequest(new ApiErrorResponse(ModelState));
|
||||
}
|
||||
|
||||
var ret = await ct.NotifyEvent.Include(z => z.NotifySubscription).Select(z => new
|
||||
var ret = await ct.NotifyEvent.AsNoTracking().Include(z => z.NotifySubscription).Select(z => new
|
||||
{
|
||||
z.Id,
|
||||
z.Created,
|
||||
|
||||
@@ -530,6 +530,7 @@ namespace AyaNova.Biz
|
||||
await ct.NotifyEvent.AddAsync(n);
|
||||
log.LogDebug($"Adding NotifyEvent: [{n.ToString()}]");
|
||||
}
|
||||
await ct.SaveChangesAsync();
|
||||
}
|
||||
}//overdue event
|
||||
}//custom events for created / modified
|
||||
|
||||
Reference in New Issue
Block a user