mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
SQL Insert fix
This commit is contained in:
@@ -305,7 +305,8 @@ function Insert(
|
||||
.join(', ')
|
||||
|
||||
const values = Object.keys(data)
|
||||
.map((item) => {
|
||||
.map((key) => {
|
||||
const item = data[key]
|
||||
if (typeof item === 'string') {
|
||||
return `'${item}'`
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user