aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/MGA/Mirrors/Controller/Api.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MGA/Mirrors/Controller/Api.pm b/lib/MGA/Mirrors/Controller/Api.pm
index 6f85a80..9f87859 100644
--- a/lib/MGA/Mirrors/Controller/Api.pm
+++ b/lib/MGA/Mirrors/Controller/Api.pm
@@ -36,8 +36,8 @@ sub list :Path :Args(1) {
my $list = $c->model('Mirrors')->find_distributions(
{
- version => $version,
- arch => $arch,
+ version => lc($version),
+ arch => lc($arch),
exists => 1,
public => 1,
}