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 c8c38df commit d039559Copy full SHA for d039559
modules/module-postgres-storage/src/storage/PostgresReportStorageFactory.ts
@@ -297,8 +297,14 @@ export class PostgresReportStorageFactory implements storage.ReportStorageFactor
297
});
298
}
299
async listCurrentConnections(data: ListCurrentConnectionsRequest): Promise<ListCurrentConnections> {
300
+ const rows = await this.listConnectionsDateRangeQuery(data);
301
// @ts-ignore
- return await this.listConnectionsDateRangeQuery(data);
302
+ console.log(rows.sdks.data);
303
+ return {
304
+ // @ts-ignore
305
+ users: Number(rows.users),
306
+ sdks: []
307
+ };
308
309
310
async scrapeSdkData(data: ScrapeSdkDataRequest): Promise<ListCurrentConnections> {
0 commit comments