Next.js patches the global fetch with a cache layer that was returning stale PB responses (showing description_goods as the code itself because the snapshot was from before the import fixed the descriptions). Wrap the SDK with a custom fetch using cache: no-store so every page request gets fresh data from PocketBase. |
||
|---|---|---|
| .. | ||
| create_collections.py | ||
| debug_invoices.mjs | ||
| debug_pb_fields.mjs | ||
| extract_invoices.py | ||
| import_to_pb.py | ||
| patch_collections.py | ||
| pb_snapshot.txt | ||
| price_lookup.py | ||
| test_pb_sdk.js | ||
| test_pb_select.js | ||