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

Feature: discord fixes. #243

Merged
merged 1 commit into from
Sep 18, 2023
Merged

Feature: discord fixes. #243

merged 1 commit into from
Sep 18, 2023

Conversation

matiwinnetou
Copy link
Contributor

No description provided.

public Either<Problem, IsVerifiedResponse> isVerifiedBasedOnStakeAddress(IsVerifiedRequest isVerifiedRequest) {
var isVerified = userVerificationRepository.findCompletedVerification(isVerifiedRequest.getEventId(), isVerifiedRequest.getStakeAddress())
var isVerified = userVerificationRepository.findCompletedVerifications(isVerifiedRequest.getEventId(), isVerifiedRequest.getStakeAddress())
.stream().findFirst()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@fabianbormann if user is verified with more than 1 discord handle with the same stake address, we will take the first verified one and overall accept the verification.

@matiwinnetou matiwinnetou merged commit 4195aef into main Sep 18, 2023
9 checks passed
@matiwinnetou matiwinnetou deleted the discord-fixes branch September 18, 2023 11:53
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