|
@@ -61,8 +61,8 @@ 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])
|
|
|
+ sql = 'INSERT INTO file_summary_tasks (repo_id, create_time, create_user, repo_hash, filepath, source) VALUES (?, ?, ?, ?, ?, ?)'
|
|
|
+ let r = await db.query(sql, [id, time, uuid, hash, filePath, 'hand'])
|
|
|
|
|
|
if (!r || r.affectedRows !== 1)
|
|
|
return res.json({
|