diff --git a/README.md b/README.md index 88bc40fa..e3f940b1 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ +[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6b19092045904984b19c4775927d10b1)](https://app.codacy.com/app/impulsonetwork/atena?utm_source=github.com&utm_medium=referral&utm_content=impulsonetwork/atena&utm_campaign=Badge_Grade_Settings) [![Build Status](https://dev.azure.com/impulsonetwork/Atena/_apis/build/status/impulsonetwork.atena)](https://dev.azure.com/impulsonetwork/Atena/_build/latest?definitionId=3) [![Website](https://img.shields.io/website-up-down-green-red/http/shields.io.svg?label=about)](http://impulso.network) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) diff --git a/config/coreteam.yml b/config/coreteam.yml index 905f402c..c97b507e 100644 --- a/config/coreteam.yml +++ b/config/coreteam.yml @@ -16,6 +16,9 @@ members: - U90418USW - UATDAFP9T - UCV6RPQRL + - UCLFL0K2A + - UD65U3S1H + - UCVTS7KPU admins: - UB348CP6Z - - UCJA2A8Q5 \ No newline at end of file + - UCJA2A8Q5 diff --git a/controllers/user.js b/controllers/user.js index 5cff8aff..fefac953 100644 --- a/controllers/user.js +++ b/controllers/user.js @@ -102,7 +102,7 @@ export const find = async (userId, isCoreTeam = false) => { slackId: userId, isCoreTeam: isCoreTeam }).exec(); - result.score = parseInt(result.score); + result.score = result.score.toFixed(1); return result || _throw("Error finding a specific user"); }; @@ -119,7 +119,7 @@ export const findAll = async (isCoreTeam = false, limit = 20) => { .limit(limit) .exec(); result.map(user => { - user.score = parseInt(user.score); + user.score = user.score.toFixed(1); }); return result || _throw("Error finding all users");