If you offer a service to the public like making a cake, then can discriminate.Which they did not do. They just refused a very specific order, which was their right to do.
If a black person went into a diner and the owner refused him because "he doesn't make coffee for blacks". That is discrimination as well...