Skip to content

Conversation

@baywet
Copy link
Member

@baywet baywet commented Jan 3, 2025

No description provided.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 3, 2025

// consumes
var consumes = RequestBody.Content.Keys.Distinct().ToList();
if (consumes.Any())
var consumes = new HashSet<string>(RequestBody.Content?.Keys.Distinct(StringComparer.OrdinalIgnoreCase) ?? [], StringComparer.OrdinalIgnoreCase);
Copy link
Contributor

Choose a reason for hiding this comment

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

👍🏼

@baywet baywet merged commit 6d064c4 into dev Jan 6, 2025
12 checks passed
@baywet baywet deleted the fix/v2-request-body-content branch January 6, 2025 06:00
@baywet baywet added this to the v2 - preview5 milestone Jan 8, 2025
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