Skip to content

Commit 36e1f9f

Browse files
committed
Simplify redundant null check in example
Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com
1 parent 87e1fb6 commit 36e1f9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • .agents/skills/create-example-app-with-integration/example/src

.agents/skills/create-example-app-with-integration/example/src/federation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ federation
7373
return;
7474
}
7575
const follower = await follow.getActor(context) as Person;
76-
if (!follower?.id || follower.id === null) {
76+
if (!follower?.id) {
7777
throw new Error("follower is null");
7878
}
7979
await context.sendActivity(

0 commit comments

Comments
 (0)