hedera-mirror-node icon indicating copy to clipboard operation
hedera-mirror-node copied to clipboard

Nft Allowance API - Next link generation correction

Open mgoelswirlds opened this issue 1 year ago • 0 comments

Description

With the current implementation a scenario with account.id=gt:…&token.id=gt:…&order=desc would generate wrong result.

Steps to reproduce

  1. Provide account.id=gt:…&token.id=gt:…&order=desc for nft allowance rest api will generate incorrect Next Link.

Additional context

Fix next link generation to handle the above case to return account.id=gt:…&token.id=gt:…&account.id=lte:…&token.id=lt:…order=desc

Hedera network

other

Version

v.0.103.0

Operating system

None

mgoelswirlds avatar Apr 26 '24 15:04 mgoelswirlds