has_wagonorder: Fix promise result mixup

This commit is contained in:
Daniel Friesel 2020-01-22 20:18:37 +01:00
parent 9232cdaa5f
commit cda8e53b34

View file

@ -1869,7 +1869,7 @@ sub startup {
} }
else { else {
$cache->set( $url, 'n' ); $cache->set( $url, 'n' );
$promise->resolve; $promise->reject;
} }
} }
)->catch( )->catch(