Skip to content

Commit

Permalink
Use registerServiceConnector instead of directly pushing service conn…
Browse files Browse the repository at this point in the history
…ectors

- package.json: Bumped to 6.0.1
  • Loading branch information
kfitzgerald committed Mar 29, 2022
1 parent 9b33f94 commit 2529f73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion QueueService.js
Expand Up @@ -26,7 +26,7 @@ class QueueService {
this.broker = null; // set on connect

// Register the connection with the app
app._serviceConnectors.push(async () => {
app.registerServiceConnector(async () => {
await this.connect();
});
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "okanjo-app-queue",
"version": "6.0.0",
"version": "6.0.1",
"description": "Service for interfacing with RabbitMQ",
"main": "QueueService.js",
"scripts": {
Expand Down

0 comments on commit 2529f73

Please sign in to comment.