Skip to content

01a0dc6b - Sync map places and record the tech provider - #6

Merged
TaprootFreak merged 1 commit into
openCryptoPay:developfrom
TaprootFreakAI:feat/01a0dc6b-place-sync
Oct 2, 2026
Merged

TaprootFreak merged 1 commit into
openCryptoPay:developfrom
TaprootFreakAI:feat/01a0dc6b-place-sync

Conversation

@TaprootFreakAI

Copy link
Copy Markdown
Collaborator

EN:
Each place stores a tech provider, and a missing one stays DFX.swiss.
PUT updates a pin or creates it, DELETE removes it, and POST still keeps the first pin.

DE:
Jeder Ort speichert einen Tech-Provider, und ein fehlender bleibt DFX.swiss.
PUT aktualisiert einen Pin oder legt ihn an, DELETE entfernt ihn, und POST behält weiterhin den ersten Pin.

Details

techProvider is optional. Omitted, null, or blank stores DFX.swiss on insert and leaves the stored value unchanged on update. The value must match ^[A-Za-z0-9][A-Za-z0-9.-]{0,39}$, so DFX.swiss and 21.gifts are valid. Anything else is 400.

POST stays create-once: a repeat keeps the first row, including its tech provider, and does not call BTC Map again. PUT writes name, coordinates, category, and payment methods, and sets the tech provider only when the field is present. A new pair inserted by PUT defaults to DFX.swiss and is the only PUT that calls BTC Map. DELETE by origin and external id returns { deleted: true } or { deleted: false } and does not call BTC Map.

The public list includes techProvider and still omits the caller id and payment methods. An existing database gains the column on open, with DFX.swiss as the default for rows that were already stored.

PUT updates an existing pin or creates it, DELETE removes one, and each pin stores its tech provider. A missing provider stays DFX.swiss. POST still creates a pin only once.
@TaprootFreakAI

Copy link
Copy Markdown
Collaborator Author

EN:
One review pass found no open findings.
Each place stores a tech provider, PUT updates or creates a pin, and DELETE removes it.

DE:
Eine Prüfrunde hat keine offenen Mängel gefunden.
Jeder Ort speichert einen Tech-Provider, PUT legt ihn an oder aktualisiert ihn, und DELETE entfernt ihn.

Details

POST still creates a pin only once, so a repeated insert does not replace the first row. An omitted tech provider is stored as DFX.swiss on insert and left unchanged on update. The public list includes the tech provider and still omits the caller id and payment methods.

The bilingual summary stays. The pull-request format requires the German block as well as the English one.

@TaprootFreakAI
TaprootFreakAI marked this pull request as ready for review October 2, 2026 10:32
@TaprootFreak
TaprootFreak merged commit 427d126 into openCryptoPay:develop Oct 2, 2026
2 checks passed
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.

2 participants