Fix missing promise in #2400