Skip to content

Commit

Permalink
fixed candidate primary placement bug
Browse files Browse the repository at this point in the history
  • Loading branch information
puneetkhanduri committed Jun 9, 2023
1 parent d5cf487 commit 9404338
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/ai/diffy/analysis/DifferenceCollector.scala
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ class DifferenceAnalyzer(
differencesToJson(rawDiff).asJava,
JsonLifter.encode(request.result),
new Responses(
JsonLifter.encode(candidate.result),
JsonLifter.encode(primary.result),
JsonLifter.encode(secondary.result)
JsonLifter.encode(secondary.result),
JsonLifter.encode(candidate.result)
));
store.create(diffResult)
val saved = repository.save(diffResult)
Expand Down

0 comments on commit 9404338

Please sign in to comment.