1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-05-17 01:17:29 +02:00

fix: now hydration event will have segments inside (#9597)

This commit is contained in:
Jaanus Sellin 2025-03-24 13:26:48 +02:00 committed by GitHub
parent 01870c6165
commit 34abb2669e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -111,7 +111,7 @@ export class SegmentReadModel implements ISegmentReadModel {
} }
async getAllForClientIds(ids?: number[]): Promise<IClientSegment[]> { async getAllForClientIds(ids?: number[]): Promise<IClientSegment[]> {
if (!ids || ids.length === 0) { if (ids?.length === 0) {
return []; return [];
} }