from server
This commit is contained in:
@@ -38,11 +38,13 @@ alexaApp.express({
|
||||
|
||||
// now POST calls to /test in express will be handled by the app.request() function
|
||||
|
||||
// from here on you can setup any other express routes or middlewares as normal
|
||||
// from here on you can setup any other express routes or middlewares as nor
|
||||
|
||||
app.set("view engine", "ejs");
|
||||
|
||||
alexaApp.launch(function(request, response) {
|
||||
console.log("Alexa launch");
|
||||
console.log(request);
|
||||
const skill = db.collection('skill_list').findOne({_id: ObjectID(skillDbID)}, (err,result)=>{
|
||||
if (err){
|
||||
response.say("I could not find desired skill")
|
||||
|
||||
Reference in New Issue
Block a user