Skip to content

Commit

Permalink
fix(amplify-provider-awscloudformation): fix pinpoint console url (#912)
Browse files Browse the repository at this point in the history
fix #910
  • Loading branch information
UnleashedMind authored and kaustavghosh06 committed Feb 21, 2019
1 parent 940048c commit 77e3af6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ async function disableChannel(context, channelName) {
context.exeInfo.pinpointClient = await pintpointHelper.getPinpointClient(context, 'update');
const channelWorker = require(path.join(__dirname, channelWorkers[channelName]));
await channelWorker.disable(context);

}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ function showPinpointURL(context, resourcesToBeCreated) {
const { Id, Region } =
amplifyMeta[category][resourceName].output;
const consoleUrl =
`https://console.aws.amazon.com/pinpoint/home/?region=${Region}#/apps/${Id}/analytics/events`;

`https://${Region}.console.aws.amazon.com/pinpoint/home/?region=${Region}#/apps/${Id}/analytics/overview`;
context.print.info(chalk`Pinpoint URL to track events {blue.underline ${consoleUrl}}`);
}
}
Expand Down

0 comments on commit 77e3af6

Please sign in to comment.