From 5f361f6da1cd81c127e368fa95a1d11d99462f6e Mon Sep 17 00:00:00 2001 From: Lead Developers Ecedi Date: Sat, 3 Jul 2021 16:54:23 +0200 Subject: [PATCH] Update tag.js --- app/lib/tag.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/app/lib/tag.js b/app/lib/tag.js index 540f91d..ee39b6c 100644 --- a/app/lib/tag.js +++ b/app/lib/tag.js @@ -74,11 +74,7 @@ exports.upsertTagDescriptionByProjectIdAndTag = async (projectId, tag, descripti Logger.debug(`Updating the release note`); return Gitlab.updateTagReleaseByProjectIdTagNameAndTagId(projectId, tag.name, { description }); } else { - Logger.debug(`Creating a new release note`); - Logger.debug(`projectId`); - Logger.debug(projectId); - Logger.debug(`tag`); - Logger.debug(tag.name); - return Gitlab.createTagReleaseByProjectIdTagNameAndTagId(projectId, tag.name, { description }); + Logger.debug(`Creating a new release note by ecedi`); + return Gitlab.createTagReleaseByProjectIdTagNameAndTagId(projectId, tag.name, {'tag_name' : tag.name ,'description': description }); } };