page gets autoparsed
This commit is contained in:
parent
ae4e9c9b21
commit
6da9612236
1 changed files with 1 additions and 2 deletions
|
|
@ -1975,8 +1975,7 @@ module.exports = async (
|
|||
*/
|
||||
const apiGunFeedGet = async (req, res) => {
|
||||
try {
|
||||
const { pageStr } = req.query;
|
||||
const page = Number(pageStr)
|
||||
const { page } = req.query;
|
||||
|
||||
if (!isFinite(page)) {
|
||||
return res.status(400).json({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue