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: adding suggest and approve endpoint for the map #3937

Merged
merged 5 commits into from
Feb 6, 2024

Conversation

nicolasburtey
Copy link
Member

@nicolasburtey nicolasburtey commented Feb 3, 2024

new admin panel view:

image

@nicolasburtey nicolasburtey force-pushed the feat--add-endpoint-for-suggest-business-for-map branch from 5367f52 to d107782 Compare February 3, 2024 03:30
@nicolasburtey nicolasburtey force-pushed the feat--add-endpoint-for-suggest-business-for-map branch from d107782 to c4f66a6 Compare February 3, 2024 16:38
@nicolasburtey nicolasburtey force-pushed the feat--add-endpoint-for-suggest-business-for-map branch 2 times, most recently from 08af24d to f1be6ef Compare February 4, 2024 20:58
@nicolasburtey nicolasburtey force-pushed the feat--add-endpoint-for-suggest-business-for-map branch from f1be6ef to 7c4c5d2 Compare February 4, 2024 20:59
const merchant = await merchantsRepo.findById(id)
if (merchant instanceof Error) return merchant

merchant.validated = true
Copy link
Contributor

Choose a reason for hiding this comment

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

Can be a method on the merchants repo similar to how we have things like markAsPaid and markAsProcessingCompleted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants