module.exports = app => {
app.on(['pull_request.opened'],async context => {
let id = 'some string'
exports.id = id
})
}
I am new to javascript. I want to export the 'id' variable to other module, but i am not able to read it in the other module. Is there any way to do it?