From 644bd3b53903469a95465c16f570ac72099dd0bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0est=C3=A1k=20V=C3=ADt?= Date: Fri, 8 Dec 2017 15:58:08 +0100 Subject: [PATCH] Give more information when comparing commits. --- app/controllers/Statistics.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/Statistics.scala b/app/controllers/Statistics.scala index 66b19c2..1497a15 100644 --- a/app/controllers/Statistics.scala +++ b/app/controllers/Statistics.scala @@ -412,7 +412,7 @@ class Statistics @Inject()( def compare[T](f: Result => Set[T]) = new SetDiff(f(selection.result), f(adHocReports)) Ok(Json.obj( "vulnerabilities"->showDiff(compare(extractVulnerabilities)), - "dependencies"->showDiff(compare(_.groupedDependencies.map(GroupedDependencyIdentifier.fromGroupedDependency).toSet)) + "dependencies"->showDiff(compare(_.groupedDependencies.map(GroupedDependencyDetailedIdentifier.fromGroupedDependency).toSet)) )) } }