Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(api): say GET /infra/config reports no database name under SQLite

Yudhi Armyndharisb48869312f24
diff --git a/src/modules/infra/dto/infra-response.dto.ts b/src/modules/infra/dto/infra-response.dto.ts
index a43b929ab..60623eed9 100644
--- a/src/modules/infra/dto/infra-response.dto.ts
+++ b/src/modules/infra/dto/infra-response.dto.ts
@@ -297,7 +297,7 @@ export class InfraConfigDatabaseDto {
@ApiProperty({ example: 'openwa' })
username!: string;
- @ApiProperty({ description: 'Database name, or the SQLite file path.', example: 'openwa' })
+ @ApiProperty({ description: 'Database name under PostgreSQL; empty under SQLite.', example: 'openwa' })
database!: string;
@ApiProperty({ example: 'public' })