Was should be is. In the first sentence, is (what's) indicates that this is happening now. In the second sentence, was indicates that it had happened in the past. They must agree, or we can't truly know whether this happened, will happen, or if it is happening now.