fix: enum stop_type required uppercase values in supabase

This commit is contained in:
2026-02-25 23:48:33 -05:00
parent 6303aa4b35
commit 1368e21af1
5 changed files with 53 additions and 8 deletions

View File

@ -75,6 +75,9 @@ async function loadStops() {
function translateType(type: string) {
const types: Record<string, string> = {
'REGULAR': 'Regular',
'TERMINAL': 'Terminal',
'EXPRESS_ONLY': 'Solo Expreso',
'regular': 'Regular',
'terminal': 'Terminal',
'express_only': 'Solo Expreso'