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

Lens Example Project Added #47

Merged
merged 6 commits into from
Oct 16, 2023
Merged

Lens Example Project Added #47

merged 6 commits into from
Oct 16, 2023

Conversation

bgodlin
Copy link
Contributor

@bgodlin bgodlin commented Oct 15, 2023

No description provided.

Polygon/polygon-lens/src/mappings/mappingHandlers.ts Outdated Show resolved Hide resolved
Polygon/polygon-lens/src/mappings/mappingHandlers.ts Outdated Show resolved Hide resolved
Polygon/polygon-lens/src/mappings/mappingHandlers.ts Outdated Show resolved Hide resolved
Polygon/polygon-lens/src/mappings/mappingHandlers.ts Outdated Show resolved Hide resolved
profile.imageURI = event.args.imageURI;
creator.save();
to.save();
profile.save();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead use a promise to save all?

Suggested change
profile.save();
promise.all([creator.save(), to.save(), profile.save()]);

@jamesbayly jamesbayly merged commit 6e72c48 into main Oct 16, 2023
2 checks passed
@jamesbayly jamesbayly deleted the add-lens-example branch October 16, 2023 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants