style: comment on code

This commit is contained in:
bsourisse 2023-01-13 10:47:27 +01:00
parent 0a9ebb4d41
commit 7878f0d76b

View file

@ -47,7 +47,7 @@ export default async function handler(req, res) {
//3 : Change the username //3 : Change the username
try { try {
//Modify the password for the user //Modify the username for the user
let newUsersList = usersList.map((user) => let newUsersList = usersList.map((user) =>
user.username == session.user.name user.username == session.user.name
? { ...user, username: username } ? { ...user, username: username }