Skip to content

Conversation

@jmgasper
Copy link
Contributor

*/
async getMemberGroups(memberId: string, dto: GetMemberGroupsDto) {
const returnUuid = dto.uuid;
const returnUuid = dto?.uuid ?? true;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[❗❗ correctness]
The use of the nullish coalescing operator (??) with dto?.uuid ?? true changes the behavior to default returnUuid to true if dto.uuid is null or undefined. Ensure this change is intentional and does not affect the logic where returnUuid should be false when dto.uuid is explicitly false.

@jmgasper jmgasper merged commit e3bb5b9 into master Nov 18, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants