Skip to content

Commit 792b299

Browse files
ts-codecs
1 parent 6b5b58b commit 792b299

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,9 @@ export class PostgresReportStorageFactory implements storage.ReportStorageFactor
110110
}
111111

112112
private mapListCurrentConnectionsResponse(result: SdkReportingDecoded): ListCurrentConnections {
113-
console.log(result.sdks);
114113
return {
115114
users: Number(result.users),
116-
sdks: []
115+
sdks: result.sdks?.data || []
117116
};
118117
}
119118
private async listConnectionsQuery(data: event_types.ListCurrentConnectionsRequest) {

0 commit comments

Comments
 (0)