In my previous PR https://github.com/CosmWasm/cw-nfts/pull/32, I implemented approval query. Well I thought implemented it.
The problem is I read the logic above the code which was named all_approvals and then used the same query for individual approvals. But the logic was different. The all_approvals naming is not very explanatory for the logic. So I renamed it in this PR. fixed the approval query and added a query to gel all approvals of a token.
In my previous PR https://github.com/CosmWasm/cw-nfts/pull/32, I implemented approval query. Well I thought implemented it. The problem is I read the logic above the code which was named
all_approvals
and then used the same query for individual approvals. But the logic was different. Theall_approvals
naming is not very explanatory for the logic. So I renamed it in this PR. fixed the approval query and added a query to gel all approvals of a token.