Nine people were under investigation after online posts showed a celebration with a swastika-themed cake.