Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

burned field is not respected #54

Open
vikiival opened this issue Oct 13, 2024 · 0 comments · May be fixed by #55
Open

burned field is not respected #54

vikiival opened this issue Oct 13, 2024 · 0 comments · May be fixed by #55
Labels
bug Something isn't working p2

Comments

@vikiival
Copy link
Member

const client = getClient('ahp');
const query = client.itemListByCollectionId('244', { burned: false, orderBy: 'blockNumber_ASC', fields: extendFields(['burned']) });
const res = await client.fetch(query);

const items = res.data.items;

assertEqual(items, items.filter(x => !x.burned))
@vikiival vikiival added bug Something isn't working p2 labels Oct 13, 2024
@roiLeo roiLeo linked a pull request Oct 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant