File tree Expand file tree Collapse file tree
apps/sim/e2e/settings/credentials Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments