I have the following controller in nodejs with expressjs, I am trying to call a function in the same controller but I have the following error response this.editarAluno is not a function
Controller
var alunoController = {
  criarAluno: function (req, res) {
    this.editarAluno(req, res);
  },
  editarAluno: function (req, res) {
    console.log('Ok....');
  },
};
module.exports = alunoController;
 
     
     
    