From aaade16f72a799610ae6ef168c8b47780ae58e6e Mon Sep 17 00:00:00 2001 From: Matt Carroll Date: Tue, 20 Nov 2018 16:25:07 -0800 Subject: [PATCH] Fix Node6 tests Change-Id: I7d14eac3d537608efd7a884724f6a085b5a7466d --- src/v1-agent.js | 4 ++-- src/v2-agent.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/v1-agent.js b/src/v1-agent.js index 17497d6..91a8bd2 100644 --- a/src/v1-agent.js +++ b/src/v1-agent.js @@ -293,7 +293,7 @@ class V1Agent { this.agent.add(new PayloadResponse( PLATFORMS.ACTIONS_ON_GOOGLE, - response.data.google), + response.data.google) ); } @@ -326,7 +326,7 @@ class V1Agent { // convert the JSON to fufillment classes let richResponse = richResponseMapping[consoleMessageJson.type]( consoleMessageJson, - V1_TO_V2_PLATFORM_NAME[consoleMessageJson.platform], + V1_TO_V2_PLATFORM_NAME[consoleMessageJson.platform] ); richResponse ? richConsoleMessages = richConsoleMessages.concat(richResponse) : null; } else { diff --git a/src/v2-agent.js b/src/v2-agent.js index ad98f6b..ecfa517 100644 --- a/src/v2-agent.js +++ b/src/v2-agent.js @@ -341,7 +341,7 @@ class V2Agent { this.agent.add(new PayloadResponse( PLATFORMS.ACTIONS_ON_GOOGLE, - response.payload.google), + response.payload.google) ); }