diff --git a/web-app/src/eventHandlers/pullRequestEventHandler.ts b/web-app/src/eventHandlers/pullRequestEventHandler.ts index c0e1f10..60db5b5 100644 --- a/web-app/src/eventHandlers/pullRequestEventHandler.ts +++ b/web-app/src/eventHandlers/pullRequestEventHandler.ts @@ -83,12 +83,12 @@ export class PullRequestEventHandler { logger.debug(`Number of files added in push: ${filesAdded.length}`); const app = await appGitHubService.getAuthenticatedApp(); - const { appName, appPublicPage, appLogin } = { - appName: app.name, + const { appSlug, appPublicPage, appLogin } = { + appSlug: app.slug, appPublicPage: app.html_url, appLogin: `${app.slug}[bot]`, }; - const appLinkMarkdown = `[${appName}](${appPublicPage})`; + const appLinkMarkdown = `[${appSlug}](${appPublicPage})`; const pullRequestComments = await appGitHubService.getPullRequestComments({ ...pullInfo,