AUI-1173 Add missing promise variable