This repository was archived by the owner on Apr 1, 2026. It is now read-only.
Commit 109af68
committed
'req.param' was deprecated. Replace with 'req.query'
Summary:
Express.js deprecated `req.param` in favor of `req.query`.
Changed semantics slightly.
`req.param` used to be a function that would fetch the supplied param.
`req.query` is a function that returns a JSON object of all params and
values.
Test Plan:
This would only happen on subscription since that's where this was used.
Patched the change to a test app instance on Heroku.
Deployed.
Added a new subscription.
Did not see deprecation logs anymore.1 parent 893e3df commit 109af68
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments