Question d’entretien chez Tray.ai

Convert a function with a callback in a promise