fix labels API adding missing parameter (current_user)
What does this MR do?
Fix labels API, adding a missing parameter, needed to count open issues, closed issues and merge requests
Why was this MR needed?
Labels API is broken because open_issues_count
, closed_issues_count
and open_merge_requests_count
need a parameter (current_user
), since 8ca5b331
Without this MR open_issues_count
, closed_issues_count
and open_merge_requests_count
in labels API always return zero