payfrit-beacon-ios/PayfritBeacon/Models
Schwifty a1c215eb42 fix: decode actual API response format (OK + flat keys, not Success/Data)
The API returns {OK: true, BUSINESSES: [...]} but the iOS client was
decoding {Success: true, Data: [...]} which never matched — causing
"Failed to load businesses" on every call. Also fixes Business model
(BusinessID/Name vs ID/BusinessName) and ServicePoint model
(ServicePointID vs ID). All response decoders now match the real API.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 21:26:42 +00:00
..
BeaconConfig.swift feat: complete rebuild of PayfritBeacon iOS from scratch 2026-03-22 17:13:36 +00:00
BeaconType.swift feat: complete rebuild of PayfritBeacon iOS from scratch 2026-03-22 17:13:36 +00:00
Business.swift fix: decode actual API response format (OK + flat keys, not Success/Data) 2026-03-22 21:26:42 +00:00
ServicePoint.swift fix: decode actual API response format (OK + flat keys, not Success/Data) 2026-03-22 21:26:42 +00:00