From 0b9164e0839910349e06a18ec6416f2dfb91bbee Mon Sep 17 00:00:00 2001 From: Abhilasha Kumari <31110940+Abhilashak2k@users.noreply.github.com> Date: Wed, 10 Jun 2020 00:09:56 +0530 Subject: [PATCH] Changed survey id from Survey1 to survey1 (lowercase) This is because the url is read in lowercase and if one tries to retrieve Survey with ID "survey1", it returns a blank json. --- 05.Spring-Boot-Advanced/Step08.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/05.Spring-Boot-Advanced/Step08.md b/05.Spring-Boot-Advanced/Step08.md index 5ecb3c2..4d6b2fe 100644 --- a/05.Spring-Boot-Advanced/Step08.md +++ b/05.Spring-Boot-Advanced/Step08.md @@ -296,7 +296,7 @@ public class SurveyService { List questions = new ArrayList<>(Arrays.asList(question1, question2, question3, question4)); - Survey survey = new Survey("Survey1", "My Favorite Survey", + Survey survey = new Survey("survey1", "My Favorite Survey", "Description of the Survey", questions); surveys.add(survey);