diff --git a/back/package-lock.json b/back/package-lock.json index 2ab878915ac0b0018426c5bece75acea0469283f..8513c9efcb83bf64d91209c36ecc7fc3631a651e 100644 --- a/back/package-lock.json +++ b/back/package-lock.json @@ -456,7 +456,6 @@ "dependencies": { "anymatch": "~3.1.1", "braces": "~3.0.2", - "fsevents": "~2.1.2", "glob-parent": "~5.1.0", "is-binary-path": "~2.1.0", "is-glob": "~4.0.1", diff --git a/back/src/controllers/administrateur.controller.js b/back/src/controllers/administrateur.controller.js index 2daa25c686c1e4a184f45c6d8037553b73425cb1..01b30df52ece503f454e271020aefc7c186bb2c3 100644 --- a/back/src/controllers/administrateur.controller.js +++ b/back/src/controllers/administrateur.controller.js @@ -120,7 +120,7 @@ async function getUsers(req, res) { } } -async function getUsersPerformance(req, res) { +/*async function getUsersPerformance(req, res) { if (!req.session || !req.session.ids || !req.query.userString) { res.json([]); } else { @@ -153,7 +153,7 @@ async function getUsersPerformance(req, res) { } } - +*/ function simple_query(query, args) { var connection = mysql.createConnection(dbConfig); connection.connect(); diff --git a/back/src/controllers/participant.controller.js b/back/src/controllers/participant.controller.js index 6e0e37c8c3652ecd4d27f8cbc38a836d94d03ef5..994caf19f4bf9cc88e288206250d00381d72792e 100644 --- a/back/src/controllers/participant.controller.js +++ b/back/src/controllers/participant.controller.js @@ -121,7 +121,7 @@ function getResultatsPersonnels(req, res) { distMoy: 0, } ) - }; + } let leader_indiv = { dataperf: [], distTotale: 0, diff --git a/back/src/controllers/staffeurs.controller.js b/back/src/controllers/staffeurs.controller.js index 4edf5d2e630d66c46d240cb1b78d48b861df6098..6e1f5203e994a6c418f0e53edb20bea39ed562c1 100644 --- a/back/src/controllers/staffeurs.controller.js +++ b/back/src/controllers/staffeurs.controller.js @@ -1,5 +1,4 @@ const mysql = require('mysql'); -const fetch = require('node-fetch'); var secrets = require('../secrets.js'); var dbhost = secrets.dbhost; var dbuser = secrets.dbuser; diff --git a/back/yarn.lock b/back/yarn.lock index cf9a20174f6b67f359876e181bb20e04b64cb4cb..23a7ac3924350d713d0934cf2ec99dc4e8e81703 100644 --- a/back/yarn.lock +++ b/back/yarn.lock @@ -277,7 +277,6 @@ dependencies: "anymatch" "~3.1.1" "braces" "~3.0.2" - "fsevents" "~2.1.2" "glob-parent" "~5.1.0" "is-binary-path" "~2.1.0" "is-glob" "~4.0.1"