Skip to content

Commit ea45ee6

Browse files
committed
ran lint
1 parent a494656 commit ea45ee6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

apps/sim/app/api/tools/confluence/user/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export async function POST(request: NextRequest) {
3838
const accountIdValidation = validatePathSegment(accountId, {
3939
paramName: 'accountId',
4040
maxLength: 255,
41-
customPattern: /^[a-zA-Z0-9:\-]+$/,
41+
customPattern: /^[a-zA-Z0-9:-]+$/,
4242
})
4343
if (!accountIdValidation.isValid) {
4444
return NextResponse.json({ error: accountIdValidation.error }, { status: 400 })

apps/sim/socket/database/operations.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,7 @@ async function auditWorkflowLockToggle(workflowId: string, actorId: string): Pro
270270
resourceType: AuditResourceType.WORKFLOW,
271271
resourceId: workflowId,
272272
resourceName: wf.name,
273-
description: allLocked
274-
? `Locked workflow "${wf.name}"`
275-
: `Unlocked workflow "${wf.name}"`,
273+
description: allLocked ? `Locked workflow "${wf.name}"` : `Unlocked workflow "${wf.name}"`,
276274
metadata: { blockCount: blocks.length },
277275
})
278276
}

0 commit comments

Comments
 (0)