Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cf36333

Browse files
authored
forgot to finish this test
1 parent 45dd38d commit cf36333

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

ruby/ql/test/query-tests/security/weak-params/WeakParams.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ def create_query
77
TestObject.new(request.query_parameters)
88
end
99

10+
def update
11+
TestObect.update(object_params)
12+
end
13+
1014
#
1115
def object_params
12-
p = params.query_parameters
1316
params.require(:uuid).permit(:notes)
1417
end
1518
end

0 commit comments

Comments
 (0)