Most chemistry textbooks treat water as a natural reaction environment (implicitly excess of water). And then the second reaction is correct.
However, from both a chemistry and stoichiometry point of view, both reactions are possible.
Depending on the precision of the question, one or both equations are the correct answer.