Skip to content

Commit

Permalink
fix: πŸ› filter by team
Browse files Browse the repository at this point in the history
  • Loading branch information
hijiki51 committed Dec 6, 2024
1 parent ee3f824 commit a0ae81d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def create
@benchmark_job = BenchmarkJob.create!(
team_id: @team.id,
instance_name: @team.availability_zone,
target: ContestantInstance.find_by(number: pb.target_number),
target: ContestantInstance.find_by(team: @team, number: pb.target_number),
)
render protobuf: Isuxportal::Proto::Services::Admin::EnqueueBenchmarkJobResponse.new(
job: @benchmark_job.to_pb(admin: true, team: true, detail: true)
Expand Down

0 comments on commit a0ae81d

Please sign in to comment.