Skip to content

Commit

Permalink
fixing package.json dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
DaKingKong committed Jun 28, 2022
1 parent 5a3bdf3 commit 038fbd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ringcentral-google-drive-notification-add-in",
"version": "0.2.21",
"version": "0.2.22",
"description": "RingCentral Add-In App",
"keywords": [
"RingCentral",
Expand Down
4 changes: 1 addition & 3 deletions src/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ const { GoogleFile } = require('./models/googleFileModel');
const { Subscription } = require('./models/subscriptionModel');
const { RcUser } = require('./models/rcUserModel');

const packageJson = require('../../package.json') ? require('../../package.json') : require('../package.json');

// extends or override express app as you need
exports.appExtend = (app) => {
const skills = [];
Expand All @@ -33,7 +31,7 @@ exports.appExtend = (app) => {
app.listen(process.env.RINGCENTRAL_CHATBOT_EXPRESS_PORT);
}

app.get('/is-alive', (req, res) => { res.send(`OK\n${packageJson.version}`); });
app.get('/is-alive', (req, res) => { res.send(`OK`); });

console.log('server running...');
console.log(`bot oauth uri: ${process.env.RINGCENTRAL_CHATBOT_SERVER}${botConfig.botRoute}/oauth`);
Expand Down

0 comments on commit 038fbd3

Please sign in to comment.