Skip to content

Commit

Permalink
🐛 Adding
Browse files Browse the repository at this point in the history
  • Loading branch information
naelob committed Jun 23, 2024
1 parent 79deb6c commit 70ae5d5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Injectable } from '@nestjs/common';
import { PrismaService } from '@@core/prisma/prisma.service';
import { LoggerService } from '@@core/logger/logger.service';
import { v4 as uuidv4 } from 'uuid';
import { throwTypedError, UnifiedTicketingError } from '@@core/utils/errors';
import { WebhookService } from '@@core/webhook/webhook.service';
import {
UnifiedAttachmentInput,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,6 @@ export class CommentService {
remote_id: true,
},
});
if (!ticket)
throw new ReferenceError(
'ticket does not exist for the comment you try to create',
);
const resp: ApiResponse<OriginalCommentOutput> = await service.addComment(
desunifiedObject,
linkedUserId,
Expand Down

0 comments on commit 70ae5d5

Please sign in to comment.