We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01045b0 commit a0e04c3Copy full SHA for a0e04c3
tests/e2e/helpers/api/api-database.ts
@@ -314,7 +314,7 @@ export class DatabaseAPIRequests {
314
const databaseIds = await this.getDatabaseByConnectionType(
315
connectionType
316
);
317
- if(databaseIds.length > 0) {
+ if(databaseIds?.length > 0) {
318
const requestBody = { ids: [`${databaseIds}`] };
319
const response = await sendDeleteRequest(
320
ResourcePath.Databases,
0 commit comments