Skip to content

Commit

Permalink
馃攢 Merge pull request #1274 from shirkalab/google_assistant_capability
Browse files Browse the repository at this point in the history
馃悰 Fix google assistant capability
  • Loading branch information
Jan K枚nig committed Apr 25, 2022
2 parents bdfc1e5 + 5f228c1 commit 6379cac
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ export class GoogleAssistantRequest extends JovoRequest {
if (supportedCapabilities?.includes(NativeCapability.RichResponse)) {
capabilities.push(Capability.Screen);
}
if (supportedCapabilities?.includes(GoogleAssistantCapability.WebLink)) {
if (supportedCapabilities?.includes(NativeCapability.WebLink)) {
capabilities.push(GoogleAssistantCapability.WebLink);
}
if (supportedCapabilities?.includes(GoogleAssistantCapability.InteractiveCanvas)) {
if (supportedCapabilities?.includes(NativeCapability.InteractiveCanvas)) {
capabilities.push(GoogleAssistantCapability.InteractiveCanvas);
}
return capabilities;
Expand Down

0 comments on commit 6379cac

Please sign in to comment.