Repository navigation
01a0dc6b - Sync map places and record the tech provider - #6
Merged
TaprootFreak merged 1 commit intoOct 2, 2026
Merged
Conversation
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.
Collaborator
Author
|
EN: DE: DetailsPOST 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
marked this pull request as ready for review
October 2, 2026 10:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
techProvideris optional. Omitted, null, or blank storesDFX.swisson insert and leaves the stored value unchanged on update. The value must match^[A-Za-z0-9][A-Za-z0-9.-]{0,39}$, soDFX.swissand21.giftsare 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.swissand 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
techProviderand still omits the caller id and payment methods. An existing database gains the column on open, withDFX.swissas the default for rows that were already stored.