From b9fc393fba28af50b0464cd1958e975b8338cdae Mon Sep 17 00:00:00 2001 From: anelpere <39557827+anelpere@users.noreply.github.com> Date: Thu, 16 Jan 2020 00:37:03 -0500 Subject: [PATCH] Update ServerlessBackend.yaml Fixed issue with comments breaking the syntax for the "findUnicorn" function. --- Auth/2_ServerlessAPI/ServerlessBackend.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Auth/2_ServerlessAPI/ServerlessBackend.yaml b/Auth/2_ServerlessAPI/ServerlessBackend.yaml index 3e314bd1..a2f2906f 100644 --- a/Auth/2_ServerlessAPI/ServerlessBackend.yaml +++ b/Auth/2_ServerlessAPI/ServerlessBackend.yaml @@ -131,9 +131,9 @@ Resources: }); }; - // This is where you would implement logic to find the optimal unicorn for - // this ride (possibly invoking another Lambda function as a microservice.) - // For simplicity, we'll just pick a unicorn at random. + // This is where you would implement logic to find the optimal unicorn for + // this ride (possibly invoking another Lambda function as a microservice.) + // For simplicity, we'll just pick a unicorn at random. function findUnicorn(pickupLocation) { console.log('Finding unicorn for ', pickupLocation.Latitude, ', ', pickupLocation.Longitude);