end session
This commit is contained in:
@@ -39,7 +39,8 @@ namespace alexa.dev.excuses
|
|||||||
return GetExcuses().ContinueWith(a =>
|
return GetExcuses().ContinueWith(a =>
|
||||||
new SpeechletResponse()
|
new SpeechletResponse()
|
||||||
{
|
{
|
||||||
OutputSpeech = new PlainTextOutputSpeech() { Text = a.GetAwaiter().GetResult() }
|
OutputSpeech = new PlainTextOutputSpeech() { Text = a.GetAwaiter().GetResult() },
|
||||||
|
ShouldEndSession = true;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
public static async Task<string> GetExcuses()
|
public static async Task<string> GetExcuses()
|
||||||
|
|||||||
Reference in New Issue
Block a user