zammad/zammad

View on GitHub
app/frontend/shared/entities/ticket-article/action/plugins/telegram.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function addTypes has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  addTypes(ticket) {
    const descriptionType = ticket.createArticleType?.name

    if (descriptionType !== 'telegram personal-message') return []

    There are no issues that match your filters.

    Category
    Status