Skip to content
This repository has been archived by the owner on Oct 1, 2022. It is now read-only.

Commit

Permalink
fix request type containing attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Dilly committed Feb 6, 2017
1 parent 9174bd7 commit b9bfce4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/ask/types.d
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,8 @@ struct AlexaRequest
/// see https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/alexa-skills-kit-interface-reference#request-format
struct AlexaEvent
{
import vibe.data.json : Json;

///
struct Session
{
Expand All @@ -228,7 +230,7 @@ struct AlexaEvent
///
AlexaApplication application;
///
@optional string[string] attributes;
@optional Json[string] attributes;
///
AlexaUser user;
}
Expand Down

0 comments on commit b9bfce4

Please sign in to comment.