Sorry, my bad. I overlooked that this return is inside a local function and the caller function does return the promise.