From 4d706d23e9c96fc9b65be21624855cde96ce1746 Mon Sep 17 00:00:00 2001 From: Julien Lengrand-Lambert Date: Thu, 11 Mar 2021 10:21:29 +0100 Subject: [PATCH] Fix ugly bug --- .../githubtemplates/handlers/CreateRepositoryIntentHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lambda/src/com/amazon/ask/githubtemplates/handlers/CreateRepositoryIntentHandler.java b/lambda/src/com/amazon/ask/githubtemplates/handlers/CreateRepositoryIntentHandler.java index 9bba7d2..3bcf1a7 100644 --- a/lambda/src/com/amazon/ask/githubtemplates/handlers/CreateRepositoryIntentHandler.java +++ b/lambda/src/com/amazon/ask/githubtemplates/handlers/CreateRepositoryIntentHandler.java @@ -55,7 +55,7 @@ public class CreateRepositoryIntentHandler implements RequestHandler { String language = slots.get("language").getValue(); String title = slots.get("title").getValue(); - api.getGithub().createRepository("test") + api.getGithub().createRepository(title) .fromTemplateRepository( api.TEMPLATES.get(language).getValue0(), api.TEMPLATES.get(language).getValue1()