18F/trello-webhook-server

View on GitHub
src/register-webhook.js

Summary

Maintainability
A
1 hr
Test Coverage

Function register has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  register(callbackURL, modelID) {
    return new Promise((resolve, reject) => {
      if (!this.webhookID) {
        request.post('https://api.trello.com/1/webhooks', {
          body: {
Severity: Minor
Found in src/register-webhook.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status