import{c as e}from"./index-DLFWvoW-.js";async function t(t,n={}){let{data:{user:r}}=await e.auth.getUser();r&&await e.from(`admin_activity_log`).insert({user_id:r.id,user_email:r.email??``,action:t,details:n})}export{t};