Update the request of the user jumps

This commit is contained in:
Sébastien André
2021-05-28 17:15:25 +02:00
parent 2d3ccbaa48
commit dba69b938e

View File

@@ -48,9 +48,7 @@ namespace skydiveLogs_api.Infrastructure
.Include(x => x.DropZone)
.Include(x => x.Gear)
.Include(x => x.JumpType)
.Query()
.Where(j => j.User.Id == user.Id)
.ToList();
.Find(j => j.User.Id == user.Id);
}
public IEnumerable<Jump> GetAll()