Extend queryToObject function to remove undefined
What does this MR do?
Improvement as part of #214503 (closed)
Extends the queryToObject
function to remove undefined
variables, so when url's
include a key without a value say
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/new?key1
The function will return {}
Screenshots
N/A
Does this MR meet the acceptance criteria?
Conformity
Edited by 🤖 GitLab Bot 🤖