Merge pull request #4505 from girichards/aws-scala-sbt-template-updates

removed redundant keywords from Handler when constructing and returni…
This commit is contained in:
Rafal Wilinski 2017-11-30 13:00:22 +01:00 committed by GitHub
commit b0c4a0f534
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ import scala.collection.JavaConverters
class Handler extends RequestHandler[Request, Response] {
def handleRequest(input: Request, context: Context): Response = {
return new Response("Go Serverless v1.0! Your function executed successfully!", input)
Response("Go Serverless v1.0! Your function executed successfully!", input)
}
}