Skip to content

Commit

Permalink
Corrects error that was complaining about extra argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
bwatson78 committed Nov 30, 2023
1 parent b0d78e1 commit fabfede
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/services/hyrax/embargo_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def deactivate
# Deactivates the embargo
# @return [Boolean]
def deactivate!
release!(force: true)
release(force: true)
nullify(force: true)
end

Expand Down
2 changes: 1 addition & 1 deletion app/services/hyrax/lease_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def deactivate

# Deactivates the lease and logs a message to the lease_history property
def deactivate!
release!(force: true)
release(force: true)
nullify(force: true)
end

Expand Down

0 comments on commit fabfede

Please sign in to comment.