No matter what the reason is for the sudden change in your job responsibilities, you need to maintain a positive attitude, talk to your supervisor and refrain from complaining, among other thing.
FORBES: What To Do When They Radically Change Your Job