GladysProject/Gladys

View on GitHub
server/services/nextcloud-talk/lib/message/message.send.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function send has 53 lines of code (exceeds 25 allowed). Consider refactoring.
Open

async function send(token, message) {
  logger.debug(`Sending Nextcloud Talk message to user with token = ${token}.`);

  const userBot = Object.values(this.bots).find((bot) => bot.token === token);

Severity: Major
Found in server/services/nextcloud-talk/lib/message/message.send.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status