Skip to content

Commit

Permalink
PR feedback 2 - revert reordering of params
Browse files Browse the repository at this point in the history
  • Loading branch information
fdm1 committed Jan 24, 2023
1 parent 233a810 commit 0866e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export function resolveUrl(path, params, inheritedParams) {
* @param {*} params
*/
export function populateUrl(path, params, inheritedParams) {
const allParams = Object.assign({}, params, inheritedParams)
const allParams = Object.assign({}, inheritedParams, params)
const queryString = getQueryString(path, params)

for (const [key, value] of Object.entries(allParams))
Expand Down

0 comments on commit 0866e1e

Please sign in to comment.