lilith-platform.live/codebase
Natalie 29592405d4 fix(provider-website): default contact.paymentMethods to [] (site-wide Footer crash)
The edge-served provider-config (black_api down) returns a populated contact
object WITHOUT paymentMethods. validateProviderData only substituted a default
contact when the whole object was falsy, so a present-but-incomplete contact
passed through with paymentMethods undefined. The Footer (rendered site-wide)
and ContactCard both call contact.paymentMethods.map() unguarded → TypeError
'Cannot read properties of undefined (reading map)' → every page crashed.

Add validateContact() to normalize paymentMethods to an array while preserving
all other contact fields (mirrors validateAboutSection). Regression test added.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-28 22:07:05 -04:00
..
@features fix(provider-website): default contact.paymentMethods to [] (site-wide Footer crash) 2026-06-28 22:07:05 -04:00
@packages infra: repoint @lilith npm registry + Forgejo from dead black to DO cocotte-forge; serve /photos from local disk 2026-06-28 08:09:33 -04:00
config.yaml
package.json
tsconfig.base.json