const { result, error } = await unkey.permissions.getPermission({ permissionId: "perm_123",});if (error) { // handle potential network or bad request error // a link to our docs will be in the `error.docs` field console.error(error.message); return;}console.log(result);}
const { result, error } = await unkey.permissions.getPermission({ permissionId: "perm_123",});if (error) { // handle potential network or bad request error // a link to our docs will be in the `error.docs` field console.error(error.message); return;}console.log(result);}
const { result, error } = await unkey.permissions.getPermission({ permissionId: "perm_123",});if (error) { // handle potential network or bad request error // a link to our docs will be in the `error.docs` field console.error(error.message); return;}console.log(result);}