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 #980 add api call /api/shop-name-taken/ lookup #981

Merged
merged 2 commits into from
Oct 27, 2022

Conversation

chrisjsimpson
Copy link
Contributor

@chrisjsimpson chrisjsimpson commented Oct 27, 2022

Fix #980

How to test:

  • with builder module active
  • with builder_sites table populated
curl http://127.0.0.1:5000/api/shop-name-taken/<shop_name>

e.g.

$ curl http://127.0.0.1:5000/api/shop-name-taken/demo
true

$ curl http://127.0.0.1:5000/api/shop-name-taken/demo-shop
false

@github-actions
Copy link

🙌 Live preview is here: http://980-api-check-shopname-exists.pcpink.co.uk

@chrisjsimpson chrisjsimpson merged commit f611aa5 into master Oct 27, 2022
@chrisjsimpson chrisjsimpson temporarily deployed to production October 27, 2022 19:56 Inactive
@github-actions github-actions bot added the released This issue/pull request has been released. label Oct 27, 2022
@github-actions
Copy link

🚀 PR was released in v0.1.136 🚀

@github-actions
Copy link

🚀 PR was released in v0.1.138 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Via an api request, I can check if a shop name has already been taken
1 participant