Skip to content

Commit d039559

Browse files
testing
1 parent c8c38df commit d039559

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

modules/module-postgres-storage/src/storage/PostgresReportStorageFactory.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,14 @@ export class PostgresReportStorageFactory implements storage.ReportStorageFactor
297297
});
298298
}
299299
async listCurrentConnections(data: ListCurrentConnectionsRequest): Promise<ListCurrentConnections> {
300+
const rows = await this.listConnectionsDateRangeQuery(data);
300301
// @ts-ignore
301-
return await this.listConnectionsDateRangeQuery(data);
302+
console.log(rows.sdks.data);
303+
return {
304+
// @ts-ignore
305+
users: Number(rows.users),
306+
sdks: []
307+
};
302308
}
303309

304310
async scrapeSdkData(data: ScrapeSdkDataRequest): Promise<ListCurrentConnections> {

0 commit comments

Comments
 (0)