Adonisjs gancho antes

static boot() {
  super.boot();
  this.addHook('beforeSave', async userInstance => {
    ....
  })
}
GutoTrosla