forked from jsnbuchanan/crowd-funder-for-time-pwa
fix: linting issues
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user