lib/duse/api/v1/actions/secret/update.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method call has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

            def call(secret_id)
              json = sanitized_json(strict: false)
              secret = Get.new(env, current_user, params, json).call(secret_id)
              Authorization::Secret.authorize! current_user, :update, secret
              if !json[:shares].nil?
Severity: Minor
Found in lib/duse/api/v1/actions/secret/update.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status