feat: improve mindspace asset handling and local runtime paths
This commit is contained in:
@@ -10,6 +10,7 @@ export function createMindSpaceAuditWriter(pool) {
|
||||
now = Date.now(),
|
||||
}) => {
|
||||
if (!pool) return;
|
||||
if (!userId) return;
|
||||
await pool.query(
|
||||
`INSERT INTO h5_mindspace_audit_logs
|
||||
(user_id, action, object_type, object_id, ip, result, risk_level, created_at)
|
||||
|
||||
Reference in New Issue
Block a user