Seems weird to me that you would have a single function for removing/adding likes on the makeapi's side, why not just have explicit functions and do the toggling on the client?