the universal sandbox runtime for agents and humans. pocketenv.io
sandbox openclaw agent claude-code vercel-sandbox deno-sandbox cloudflare-sandbox atproto sprites daytona
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

Throw error when no DID provided

+3
+3
apps/api/src/xrpc/io/pocketenv/actor/getProfile.ts
··· 57 57 > => { 58 58 return Effect.tryPromise({ 59 59 try: async () => { 60 + if (!params.did && !did) { 61 + throw new Error("No DID provided"); 62 + } 60 63 if (!params.did?.startsWith("did:plc:") && !!params.did) { 61 64 return { 62 65 did: await ctx.baseIdResolver.handle.resolve(params.did),