hmt 5 rokov pred
rodič
commit
72113a8aac
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      Allg Fotoliste.html

+ 1 - 1
Allg Fotoliste.html

@@ -26,7 +26,7 @@
   const mysql = R('mysql')
   var connection = mysql.createConnection(knexConfig.connection)
   connection.connect()
-  connection.query({
+  $: connection.query({
     sql: 'SELECT Foto, Schueler_ID FROM `schuelerfotos` WHERE `Schueler_ID` IN (?)',
     values: [schueler.map(s => s.ID)]},
     (e, res) => schueler = mergeById(schueler, res))