Add connected user when updating gear

This commit is contained in:
2026-05-05 23:20:24 +02:00
parent b951c947dd
commit a1321bf548
@@ -104,6 +104,7 @@ namespace skydiveLogs_api.DomainBusiness
public bool UpdateGear(int id, Gear gear) public bool UpdateGear(int id, Gear gear)
{ {
gear.Id = id; gear.Id = id;
gear.User = _identityService.ConnectedUser;
return _gearRepository.Update(gear); return _gearRepository.Update(gear);
} }