Skip to content

Commit ebcf312

Browse files
author
aehnh
committed
prettier
1 parent 878da31 commit ebcf312

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

packages/tests-e2e/src/connect/models/WebhookModel.ts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff 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();

0 commit comments

Comments
 (0)