diff --git a/packages/api/src/@core/utils/types/original/original.ticketing.ts b/packages/api/src/@core/utils/types/original/original.ticketing.ts index f334bf131..951602da0 100644 --- a/packages/api/src/@core/utils/types/original/original.ticketing.ts +++ b/packages/api/src/@core/utils/types/original/original.ticketing.ts @@ -116,6 +116,10 @@ import { GitlabCollectionInput, GitlabCollectionOutput, } from '@ticketing/collection/services/gitlab/types'; +import { + GitlabTagInput, + GitlabTagOutput, +} from '@ticketing/tag/services/gitlab/types'; /* INPUT */ /* ticket */ @@ -155,7 +159,9 @@ export type OriginalTagInput = | ZendeskTagInput | FrontTagInput | GorgiasTagInput - | JiraTagInput; + | JiraTagInput + | GitlabTagInput; + /* team */ export type OriginalTeamInput = | ZendeskTeamInput @@ -214,7 +220,8 @@ export type OriginalTagOutput = | ZendeskTagOutput | FrontTagOutput | GorgiasTagOutput - | JiraTagOutput; + | JiraTagOutput + | GitlabTagOutput; /* team */ export type OriginalTeamOutput = diff --git a/packages/api/src/ticketing/tag/services/gitlab/mappers.ts b/packages/api/src/ticketing/tag/services/gitlab/mappers.ts index 0acee286d..8aef3582a 100644 --- a/packages/api/src/ticketing/tag/services/gitlab/mappers.ts +++ b/packages/api/src/ticketing/tag/services/gitlab/mappers.ts @@ -39,7 +39,7 @@ export class GitlabTagMapper implements ITagMapper { }[], ): UnifiedTagOutput { const unifiedTag: UnifiedTagOutput = { - remote_id: String(tag.name), + remote_id: tag.name, name: tag.name, };