Lothar
06/27/2022, 6:57 PMexport async function getVessels(tokens:string[], recipeId:number) {
try {
const user = supabase.auth.user()
let { data, error, status } = await supabase
.from('recipe-vessels')
.select(`*`)
.eq('recipeId',recipeId)
.in('token',tokens)
if (error && status !== 406) {
throw error
}
return data
} catch (error) {
throw(error)
}
}