瀏覽代碼

foto reaktiv

hmt 5 年之前
父節點
當前提交
72113a8aac
共有 1 個文件被更改,包括 1 次插入1 次删除
  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))