SYNC: missing audit logs

This commit is contained in:
SPRINX0\prochazka
2025-07-03 17:27:59 +02:00
committed by Diflow
parent 527c9c8e6e
commit d3fffd9530
4 changed files with 62 additions and 6 deletions

View File

@@ -1,9 +1,10 @@
<script context="module" lang="ts">
export async function saveScriptToDatabase({ conid, database }, sql, syncModel = true) {
export async function saveScriptToDatabase({ conid, database }, sql, syncModel = true, logMessage = null) {
const resp = await apiCall('database-connections/run-script', {
conid,
database,
sql,
logMessage,
});
const { errorMessage } = resp || {};