but this doesn't? ``` export async function getVes...
# sql
l
but this doesn't?
Copy code
export 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)
  }
}