fixes the compile and timestamps to db

This commit is contained in:
Paul Schneider 2026-07-11 03:26:13 +01:00
commit bed9c8a272
15 changed files with 36 additions and 36 deletions

View file

@ -134,7 +134,7 @@ namespace Yavsc.Controllers
{
return BadRequest(ModelState);
}
query.ValidationDate = DateTime.Now;
query.ValidationDate = DateTime.UtcNow;
_context.SaveChanges(User.GetUserId());
_context.Entry(query).State = EntityState.Detached;
}