FIX: Bug fixed, Server now works again

This commit is contained in:
Merel Steenbergen
2019-03-21 16:14:50 +01:00
parent fb69ec280d
commit 6323fd06eb

View File

@@ -50,7 +50,7 @@ public class UserController {
* @param id the id of the user * @param id the id of the user
* @param name thr username of the user * @param name thr username of the user
*/ */
@RequestMapping("/addVeganMeal") @RequestMapping("/addFriend")
public void addVeganMeal(@RequestParam(value = "id") Long id, public void addVeganMeal(@RequestParam(value = "id") Long id,
@RequestParam(value = "name") String name, @RequestParam(value = "name") String name,
@RequestParam(value = "friend") String friend) { @RequestParam(value = "friend") String friend) {