Skip to content

Commit bef4ac9

Browse files
Bill Leoutsakoscursoragent
authored andcommitted
style(e2e): format credential helper
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 3fe4d94 commit bef4ac9

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

apps/sim/e2e/settings/credentials/helpers.ts

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -380,14 +380,11 @@ export async function attemptWorkspaceApiKeyCreate(
380380
return page.evaluate(
381381
async ({ workspaceId, name }) => {
382382
// boundary-raw-fetch: E2E browser-resident credential operation prevents plaintext crossing into Playwright
383-
const response = await fetch(
384-
`/api/workspaces/${encodeURIComponent(workspaceId)}/api-keys`,
385-
{
386-
method: 'POST',
387-
headers: { 'content-type': 'application/json' },
388-
body: JSON.stringify({ name, source: 'settings' }),
389-
}
390-
)
383+
const response = await fetch(`/api/workspaces/${encodeURIComponent(workspaceId)}/api-keys`, {
384+
method: 'POST',
385+
headers: { 'content-type': 'application/json' },
386+
body: JSON.stringify({ name, source: 'settings' }),
387+
})
391388
return response.status
392389
},
393390
{ workspaceId: targetWorkspaceId, name }

0 commit comments

Comments
 (0)