Skip to content

Commit

Permalink
update integration and device controllers
Browse files Browse the repository at this point in the history
  • Loading branch information
celuchmarek committed Jun 14, 2024
1 parent fbe66de commit d9466fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/api/v1/devices_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ def create
private

def device_params
params.permit(:display_name, :platform, :public_key, :registration_id)
params.permit(:display_name, :platform, :public_key, :registration_id, :pushkey)
end
end
2 changes: 1 addition & 1 deletion app/controllers/api/v1/integrations_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ def create
private

def integration_params
params.permit(:display_name, :platform, :public_key, :pushkey)
params.permit(:display_name, :platform, :public_key)
end
end

0 comments on commit d9466fb

Please sign in to comment.