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

Create unlinkDiscord resolver #2244

Conversation

flacial
Copy link
Member

@flacial flacial commented Aug 31, 2022

Related to #2243

This PR adds a resolver that'll be used to unlink the discord account by setting the values discordAccessToken, discordAccessTokenExpires, discordId, and discordRefreshToken to empty strings (and one null).

In a following PR, it'll be used in the user profile page to unlink discord.

@vercel
Copy link

vercel bot commented Aug 31, 2022

@flacial is attempting to deploy a commit to the c0d3-prod Team on Vercel.

A member of the Team first needs to authorize it.

@codecov
Copy link

codecov bot commented Aug 31, 2022

Codecov Report

Merging #2244 (e69d189) into master (a0c41a7) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master     #2244   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          173       174    +1     
  Lines         2954      2958    +4     
  Branches       796       797    +1     
=========================================
+ Hits          2954      2958    +4     
Impacted Files Coverage Δ
graphql/resolvers/unlinkDiscord.ts 100.00% <100.00%> (ø)

@vercel
Copy link

vercel bot commented Sep 3, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
c0d3-app ✅ Ready (Inspect) Visit Preview Sep 3, 2022 at 4:29AM (UTC)

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.

3 participants