Browse Source

🐞 fix: 修改错误的sql语句

Pchen. 2 months ago
parent
commit
40d557ba75
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apis/AI/SummaryFile.js

+ 1 - 1
apis/AI/SummaryFile.js

@@ -62,7 +62,7 @@ class SummaryFile extends API {
 
             const time = new Date().getTime()
             sql = 'INSERT INTO file_summary_tasks (repo_id, create_time, create_user, repo_hash, filepath) VALUES (?, ?, ?, ?, ?)'
-            let r = await db.query(sql, [id, time, uuid, hash, filePath, 'hand'])
+            let r = await db.query(sql, [id, time, uuid, hash, filePath])
 
             if (!r || r.affectedRows !== 1)
                 return res.json({