Skip to content

Commit

Permalink
bug fix on agent.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryhu committed Jan 23, 2019
1 parent be5d5e4 commit 25539a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

const mns = require('./lib/mns');

module.exports = app => {
if (app.config.alicloudMns.agent) mns(app);
module.exports = agent => {
if (agent.config.alicloudMns.agent) mns(agent);
};

0 comments on commit 25539a4

Please sign in to comment.