supermemory icon indicating copy to clipboard operation
supermemory copied to clipboard

fix: add integer and minimum validation for limit parameter

Open karamvirsingh1998 opened this issue 2 months ago • 2 comments

HEY @MaheshtheDev @Dhravya I was trying to integrate the api to lsit the documents , i accidently put negative number and it returned , there i catched one bug , so i tried to test it on rest of the things also

I found this

  1. It is not working on decimal numbers [ Returning on server error]
  2. It is returning even on negative numbers

I have added fixes for it and tested it . Please review and Merge image image image

karamvirsingh1998 avatar Nov 04 '25 15:11 karamvirsingh1998

How to use the Graphite Merge Queue

Add the label Main to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

graphite-app[bot] avatar Nov 04 '25 15:11 graphite-app[bot]

@MaheshtheDev Can you review this

karamvirsingh1998 avatar Nov 05 '25 16:11 karamvirsingh1998

thanks for your suggestion but these changes doesn't certainly effect on backend. will make sure we do on the backend though

MaheshtheDev avatar Nov 07 '25 06:11 MaheshtheDev