User bearbeiten fix

Noch ein fix
This commit is contained in:
Georg Reisinger
2019-05-15 19:58:41 +02:00
parent 28f75bf88f
commit 471089fd19
5 changed files with 15 additions and 43 deletions

View File

@ -22,7 +22,7 @@ async function updateUser(uid, mid, name, picture, email) {
}
async function realUpdateUser(uid, mid, name, picture, email){
console.log("DBCONNECT UPDATE PIC: ", picture)
console.log("DBCONNECT UPDATE PIC: ", picture, "UPDATENAME:", name)
try {
await nonQuery('Update "User" set message_id = $1, name = $2, picture = $3, email = $4 WHERE username = $5', [mid, name, picture, email, uid]);
return 'done'