Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(queries.GetProfile): reward for anonymous users is displayed as 0 #35

Merged
merged 1 commit into from
May 23, 2024

Conversation

AstatineAi
Copy link
Contributor

In queries.GetProfile, set reward in the response properly for anonymous users.

Problems with previous versions: If the queried user is anonymous, it will not enter the if statement of whether or not to display the reward.

@AstatineAi AstatineAi requested a review from Prince213 May 23, 2024 07:58
Copy link
Contributor

@Prince213 Prince213 left a comment

Choose a reason for hiding this comment

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

LGTM

@Prince213 Prince213 merged commit 2b903f9 into master May 23, 2024
1 check passed
@Prince213 Prince213 deleted the fix-profile branch May 23, 2024 09:16
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.

None yet

2 participants