Fix copypasta in events-backend-module-azure

Signed-off-by: Tim Hansen <timbonicush@spotify.com>
This commit is contained in:
Tim Hansen
2023-03-28 10:46:40 -06:00
parent f27862ed25
commit b338896188
@@ -34,10 +34,10 @@ yarn add --cwd packages/backend @backstage/plugin-events-backend-module-azure
Add the event router to the `EventsBackend`:
```diff
+const githubEventRouter = new AzureDevOpsEventRouter();
+const azureEventRouter = new AzureDevOpsEventRouter();
EventsBackend
+ .addPublishers(githubEventRouter)
+ .addSubscribers(githubEventRouter);
+ .addPublishers(azureEventRouter)
+ .addSubscribers(azureEventRouter);
// [...]
```