Skip to content

Commit

Permalink
fix: params that use multipart format
Browse files Browse the repository at this point in the history
  • Loading branch information
martintomas committed Mar 5, 2025
1 parent 68ae2a3 commit 1fed969
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def update
private

def funder_params
p = params.fetch(:funder_params, {}).permit(
p = params.fetch(:funder_params, params).permit(
:name,
:description,
:logo,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def project_params
end

def recipient_params
params.fetch(:project_params, {}).permit(
params.fetch(:project_params, params).permit(
:name,
:description,
:logo,
Expand Down

0 comments on commit 1fed969

Please sign in to comment.