Skip to content

Commit 908f7ea

Browse files
committed
remove owner reference in billing
1 parent 0ff7e57 commit 908f7ea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/sim/lib/execution/preprocessing.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export async function preprocessExecution(
186186
}
187187

188188
if (!actorUserId) {
189-
const fallbackUserId = userId || workflowRecord.userId || 'unknown'
189+
const fallbackUserId = userId || 'unknown'
190190
logger.warn(`[${requestId}] ${BILLING_ERROR_MESSAGES.BILLING_REQUIRED}`, {
191191
workflowId,
192192
workspaceId,
@@ -214,7 +214,7 @@ export async function preprocessExecution(
214214
}
215215
} catch (error) {
216216
logger.error(`[${requestId}] Error resolving billing actor`, { error, workflowId })
217-
const fallbackUserId = userId || workflowRecord.userId || 'unknown'
217+
const fallbackUserId = userId || 'unknown'
218218
await logPreprocessingError({
219219
workflowId,
220220
executionId,

0 commit comments

Comments
 (0)