import {getItemsByOwner} from "../UniversalCrudHelpers"

export const getAIForms = async (userId, token , setError ) => {
try{
    const result = await getItemsByOwner("AiForm" , userId , "LeumasAPI" , token);
    console.log(result);
    return result
}catch (err) {
    console.log("we could not fetch you forms" + err)
    setError("Could not fetch forms" + err)
}
}









