fix: enum stop_type required uppercase values in supabase
This commit is contained in:
@ -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'
|
||||
|
||||
Reference in New Issue
Block a user