Pass the correct arguments when resolving or rejecting with context