Chaining promises

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Merge branch 'jmrunge/24hs' of https://github.com/inaes-tic/mbc-mosto into jmrunge/24hs