79789844

Date: 2025-10-14 05:42:40
Score: 0.5
Natty:
Report link

Instead of using request.query.size directly, you need to access it using the lookup helper on the query parameters map:

{{#assign "page-size"}}
  {{#if (lookup request.query "size")}}
    {{lookup request.query "size"}}
  {{else}}
    20
  {{/if}}
{{/assign}}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Lavi Kumar