mirror of
https://github.com/Ravinou/borgwarehouse
synced 2024-06-10 09:52:22 +02:00
style: comment on code
This commit is contained in:
parent
0a9ebb4d41
commit
7878f0d76b
|
@ -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 }
|
||||||
|
|
Loading…
Reference in a new issue