File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
packages/tests-e2e/src/connect/models Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -87,13 +87,16 @@ export class WebhookModel {
8787 throw new Error ( 'PLAYWRIGHT_CONNECT_PROJECT_ID not set' ) ;
8888 }
8989
90- const deleteRes = await fetch ( `${ process . env . CORBADO_BACKEND_API_URL } /v2/webhookEndpoints/${ this . webhookEndpointID } ` , {
91- method : 'DELETE' ,
92- headers : {
93- Authorization : `Basic ${ process . env . CORBADO_BACKEND_API_BASIC_AUTH } ` ,
94- 'Content-Type' : 'application/json' ,
90+ const deleteRes = await fetch (
91+ `${ process . env . CORBADO_BACKEND_API_URL } /v2/webhookEndpoints/${ this . webhookEndpointID } ` ,
92+ {
93+ method : 'DELETE' ,
94+ headers : {
95+ Authorization : `Basic ${ process . env . CORBADO_BACKEND_API_BASIC_AUTH } ` ,
96+ 'Content-Type' : 'application/json' ,
97+ } ,
9598 } ,
96- } ) ;
99+ ) ;
97100 expect ( deleteRes . ok ) . toBeTruthy ( ) ;
98101
99102 this . webhookServer . close ( ) ;
You can’t perform that action at this time.
0 commit comments