Skip to content

Commit 72d0073

Browse files
committed
Add DemoEventSink
1 parent 4c60322 commit 72d0073

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/MvcDemo/HostExtensions.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ public static WebApplication ConfigureServices(this WebApplicationBuilder builde
102102
{
103103
o.EnableSyncForWeixinSubscribers = true;
104104
o.SyncIntervalInMinutesForWeixinSubscribers = 60;
105-
});
105+
})
106+
.AddWeixinEventSink<DemoEventSink>();
106107

107108
return builder.Build();
108109
}

0 commit comments

Comments
 (0)