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

feat: add rango quest #148

Merged
merged 11 commits into from
Dec 11, 2023
Merged

feat: add rango quest #148

merged 11 commits into from
Dec 11, 2023

Conversation

ayushtom
Copy link
Contributor

@ayushtom ayushtom commented Dec 3, 2023

@ayushtom ayushtom marked this pull request as ready for review December 5, 2023 04:32
@ayushtom ayushtom added the 🔥 Ready for review This pull request needs a review label Dec 5, 2023
@ayushtom ayushtom requested review from irisdv and Th0rgal and removed request for irisdv December 5, 2023 05:01
@Th0rgal
Copy link
Member

Th0rgal commented Dec 11, 2023

Hey, can you give me the good answers to the quizz?

@Th0rgal Th0rgal removed the 🔥 Ready for review This pull request needs a review label Dec 11, 2023
@ayushtom ayushtom self-assigned this Dec 11, 2023
@Th0rgal Th0rgal added the ❌ Change request Change requested from reviewer label Dec 11, 2023
Copy link
Member

@Th0rgal Th0rgal left a comment

Choose a reason for hiding this comment

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

good job, small code style changes

Err(e) => get_error(format!("{}", e)),
};
} else {
get_error("User has not completed the task".to_string())
Copy link
Member

Choose a reason for hiding this comment

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

Try to avoid repeating the same statement. You can try to use return inside the last if and return get_error "user hasn ot completed the tasks" only at the end. Will be easier if we want to modify it.

src/endpoints/quests/rango/check_trade.rs Show resolved Hide resolved
@ayushtom ayushtom added 🔥 Ready for review This pull request needs a review and removed ❌ Change request Change requested from reviewer labels Dec 11, 2023
@Th0rgal Th0rgal self-requested a review December 11, 2023 15:38
Copy link
Contributor

@fricoben fricoben left a comment

Choose a reason for hiding this comment

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

lgtm

@fricoben fricoben merged commit 3c63c28 into master Dec 11, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔥 Ready for review This pull request needs a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants