From 682175c54c2fee71d00d6f119c40f863ccdd92e7 Mon Sep 17 00:00:00 2001 From: Cahllagerfeld <43843195+Cahllagerfeld@users.noreply.github.com> Date: Sun, 10 Jul 2022 16:57:59 +0200 Subject: [PATCH] fix: webhook properties(#298) --- package-lock.json | 4 ++-- src/github/github.controller.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1db0154..d40cb6b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "api", - "version": "0.17.0", + "version": "0.17.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "api", - "version": "0.17.0", + "version": "0.17.1", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/src/github/github.controller.ts b/src/github/github.controller.ts index 16841bb..2c65bbc 100644 --- a/src/github/github.controller.ts +++ b/src/github/github.controller.ts @@ -82,8 +82,8 @@ export class GithubController { const populatedObject = { ...createdObject.toObject(), repoName: body.repository.full_name, - repoURL: body.html_url, - githubUserURL: body.sender.url, + repoURL: body.repository.html_url, + githubUserURL: body.sender.html_url, }; this.eventService.emitEvent(populatedObject); }