chore(server): update sql and lint

This commit is contained in:
Ben Beckford
2026-07-13 04:34:29 -07:00
parent ba848dcd99
commit 024b7a0930
2 changed files with 4 additions and 3 deletions
@@ -101,6 +101,7 @@ where
-- WorkflowRepository.getLogs
select
"workflow_log"."id",
"workflow_log"."createdAt",
"workflow_log"."halted",
"workflow_log"."error",
@@ -456,7 +456,7 @@ export class WorkflowExecutionService extends BaseService {
const shouldContinue = result?.workflow?.continue ?? true;
if (!shouldContinue) {
if (workflow.logging) {
this.workflowRepository.log({
await this.workflowRepository.log({
workflowId,
error: false,
halted: true,
@@ -472,7 +472,7 @@ export class WorkflowExecutionService extends BaseService {
this.logger.error(`Error executing workflow ${workflowId}:`, error);
if (workflow.logging) {
this.workflowRepository.log({
await this.workflowRepository.log({
workflowId,
error: true,
halted: false,
@@ -486,7 +486,7 @@ export class WorkflowExecutionService extends BaseService {
}
if (workflow.logging) {
this.workflowRepository.log({
await this.workflowRepository.log({
workflowId,
error: false,
halted: false,