If you mean who was the president, that would be Obama.
He put sanctions on Russia and warned Putin to cut it out.
And he went to Mitch McConnell and asked him to put out a bi-partisan statement with him informing the public about Russian interference, because if he had done it alone, you right wingers would have bitched that he was putting his thumb on the scale for Hillary.
McConnell told him to pound sand.
Anyway none of that changes the fact that the orange skidmark and his merry band of campaign criminals eagerly accepted Putin's help, and he still denies that Russia **** with the election, and is doing nothing to stop it from happening again.
You can't pin any of that on Obama.