From 7e123361ca14ed27d77234cbac5fdf34e075462f Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Tue, 31 Mar 2015 10:54:34 +0300 Subject: [PATCH] Make user_list consistent with the other methods --- lib/Gruntmaster/Data.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Gruntmaster/Data.pm b/lib/Gruntmaster/Data.pm index 301bdfd..b9e6d3a 100644 --- a/lib/Gruntmaster/Data.pm +++ b/lib/Gruntmaster/Data.pm @@ -84,7 +84,7 @@ sub add_names ($) { $el } -sub user_list { scalar query('user_list_sth')->hashes } +sub user_list { +{us => scalar query('user_list_sth')->hashes} } sub user_entry { my ($id) = @_; -- 2.39.2