Skip to content

Display error when someone submitted duplicate cafe #223

@amree

Description

@amree

When a user submitted a new coffee, validate duplicate cafe by:

  • Comparing the lat and lng
  • Compare against published coffee shop, ignore other statuses

Once found, throw error message with the link to the coffee shop.

I think we also need to let the user know to contact the admin using https://www.instagram.com/petakopi.my/ if the owner wants to make changes.

Affected page: https://petakopi.my/new

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions