Skip to content

Commit

Permalink
[O2B-1384] Fix LHC period not being updated (#1769)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinboulais authored Sep 26, 2024
1 parent 6b7b98a commit 99f3d14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/server/controllers/gRPC/GRPCRunController.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class GRPCRunController {
eorReasons: relations.eorReasons,
userO2Start: relations.userO2Start,
userO2Stop: relations.userO2Stop,
lhcPeriodName: relations.lhcPeriod?.name,
lhcPeriodName: relations.lhcPeriodName,
},
},
));
Expand Down Expand Up @@ -107,7 +107,7 @@ class GRPCRunController {
}

if (gRPCRunRequest.lhcPeriod) {
relations.lhcPeriodName = { name: gRPCRunRequest.lhcPeriod };
relations.lhcPeriodName = gRPCRunRequest.lhcPeriod;
delete gRPCRunRequest.lhcPeriod;
}

Expand Down

0 comments on commit 99f3d14

Please sign in to comment.