Skip to content

Fix the if condition#4

Open
hhko wants to merge 1 commit intoDometrain:mainfrom
hhko:fix/GetGymQueryHandler
Open

Fix the if condition#4
hhko wants to merge 1 commit intoDometrain:mainfrom
hhko:fix/GetGymQueryHandler

Conversation

@hhko
Copy link
Copy Markdown
Contributor

@hhko hhko commented Feb 25, 2025

Ex.

Before

if (await _subscriptionsRepository.ExistsAsync(request.SubscriptionId))
{
    return Error.NotFound(description: "Subscription not found");
}

After

if (!await _subscriptionsRepository.ExistsAsync(request.SubscriptionId))
{
    return Error.NotFound(description: "Subscription not found");
}

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.

1 participant