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 duplicates v1 txt records #24

Merged
merged 3 commits into from
Jul 16, 2024
Merged

Fix duplicates v1 txt records #24

merged 3 commits into from
Jul 16, 2024

Conversation

chdwlch
Copy link
Collaborator

@chdwlch chdwlch commented Jul 16, 2024

# create bip353
curl -X POST http://localhost:3000/record -H "Content-Type: application/json" -d  '{"localPart": "cw-test-72", "bolt12": "lno....1234567890"}'
{"message":"Bolt12 Address Created"

# duplicate with same values
curl -X POST http://localhost:3000/record -H "Content-Type: application/json" -d  '{"localPart": "cw-test-72", "bolt12": "lno....1234567890"}'
{"message":"Name is already taken."}

# duplicate with different values
curl -X POST http://localhost:3000/record -H "Content-Type: application/json" -d  '{"localPart": "cw-test-72", "bolt12": "lno....12345678901"}'
{"message":"Name is already taken."}

Copy link

netlify bot commented Jul 16, 2024

Deploy Preview for twelvecash ready!

Name Link
🔨 Latest commit 4efb32d
🔍 Latest deploy log https://app.netlify.com/sites/twelvecash/deploys/669697b72fe970000885b8a6
😎 Deploy Preview https://deploy-preview-24--twelvecash.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@chdwlch chdwlch changed the title Fix duplicates v1 routes Fix duplicates v1 txt records Jul 16, 2024
Copy link
Contributor

@sbddesign sbddesign left a comment

Choose a reason for hiding this comment

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

Tested, works for me

@sbddesign sbddesign merged commit c79bfb9 into main Jul 16, 2024
4 checks passed
@sbddesign sbddesign deleted the fix-duplicates-v1-cf-api branch July 16, 2024 20:38
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.

Investigate duplicate DNS records
2 participants