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

Support for non-NFT spl-tokens #1

Open
wants to merge 103 commits into
base: main
Choose a base branch
from
Open

Support for non-NFT spl-tokens #1

wants to merge 103 commits into from

Conversation

qrtp
Copy link

@qrtp qrtp commented Jan 25, 2022

Plus a Dockerfile tweak so that it would run successfully 🔥

@vercel
Copy link

vercel bot commented Jan 25, 2022

Someone is attempting to deploy a commit to a Personal Account owned by @mitrovicstefan on Vercel.

@mitrovicstefan first needs to authorize it.

Copy link
Author

@qrtp qrtp left a comment

Choose a reason for hiding this comment

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

Self comment...

}

// Optionally check for spl-tokens matching mint IDs if NFTs were not found
if (matched.length == 0) {
Copy link
Author

Choose a reason for hiding this comment

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

I only added this to the first handler to initially add the role. Probably should also update the second one that updates roles later. How does that one get called, didn't see references to it elsewhere in code. Is it meant to be called externally via a curl or something?

Copy link
Owner

Choose a reason for hiding this comment

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

Yeap, curl or just go to it in the browser

nuxt.config.js Outdated
Comment on lines 4 to 5
title: 'authorization-bot',
title: 'NFT 4 Cause Discord Verification',
htmlAttrs: {
Copy link
Owner

Choose a reason for hiding this comment

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

Let's keep this generic

Copy link
Author

Choose a reason for hiding this comment

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

yep, that slipped into the PR. Need to keep that on a branch out of main. My fault!

}

// Optionally check for spl-tokens matching mint IDs if NFTs were not found
if (matched.length == 0) {
Copy link
Owner

Choose a reason for hiding this comment

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

Yeap, curl or just go to it in the browser

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