Minor Changes
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
|
||||
|
||||
export const useZipCheck = async (zip) => {
|
||||
const supabase = useSupabaseClient()
|
||||
|
||||
console.log((await supabase.from("citys").select().eq("zip",Number(zip)).maybeSingle()).data)
|
||||
|
||||
const result = (await supabase.from("citys").select().eq("zip",Number(zip)).maybeSingle()).data
|
||||
|
||||
return result ? result.short : null
|
||||
|
||||
Reference in New Issue
Block a user