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

Depreciated modules #2

Closed
wabi88 opened this issue Apr 24, 2023 · 1 comment
Closed

Depreciated modules #2

wabi88 opened this issue Apr 24, 2023 · 1 comment

Comments

@wabi88
Copy link

wabi88 commented Apr 24, 2023

There's a few depreciated modules specifically unstable_getServerSession and getNFTCollection. I changed to getServerSession and getContract. I've added my .env.local and added my Client ID, Client Secret and private key but instead of < > I used " " because I was receiving an error.
I've changed the NFT Collection address to my own on the generate-signature.js and the index.js and added my Discord Server ID to the check-is-in-server.js and generate-signature.js.

Now, I receive a decryption operation failed error and data?.find is not a function error from the check-is-in-server.js.

Not sure if I'm doing something wrong, I followed the readme 3 different times and for a beginner I'm normally pretty good at figuring stuff out but I think this might be an error in the code somewhere.

When I run dev it just gets stuck on Checking...

When I run my console on chrome it states "Failed to load resource: the server responded with a status of 500 (Internal Server Error)"

@avneesh0612
Copy link
Contributor

the template has been updated now

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

No branches or pull requests

2 participants