fix: linting issues

This commit is contained in:
Matthew Raymer
2025-05-28 14:02:02 +00:00
parent cd47c1014c
commit 97027cb025
4 changed files with 40 additions and 6 deletions

View File

@@ -382,7 +382,12 @@ export class WebPlatformService implements PlatformService {
return databaseService.run(sql, params);
}
async dbGetOneRow(sql: string, params?: unknown[]): Promise<unknown[] | undefined> {
return databaseService.query(sql, params).then((result: QueryExecResult[]) => result[0]?.values[0]);
async dbGetOneRow(
sql: string,
params?: unknown[],
): Promise<unknown[] | undefined> {
return databaseService
.query(sql, params)
.then((result: QueryExecResult[]) => result[0]?.values[0]);
}
}