This commit is contained in:
2020-12-22 23:05:21 +00:00
parent e45aae377c
commit c0a90fffb0
2 changed files with 2 additions and 1 deletions

View File

@@ -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,