Skip to content

Commit

Permalink
Display correct invitation code (#87)
Browse files Browse the repository at this point in the history
# Display correct invitation code

## ♻️ Current situation & Problem
Currently, the invitation id is displayed instead of the invitation
code.


## ⚙️ Release Notes 
*Add a bullet point list summary of the feature and possible migration
guides if this is a breaking change so this section can be added to the
release notes.*
*Include code snippets that provide examples of the feature implemented
or links to the documentation if it appends or changes the public
interface.*


## 📚 Documentation
*Please ensure that you properly document any additions in conformance
to [Spezi Documentation
Guide](https://github.com/StanfordSpezi/.github/blob/main/DOCUMENTATIONGUIDE.md).*
*You can use this section to describe your solution, but we encourage
contributors to document your reasoning and changes using in-line
documentation.*


## ✅ Testing
*Please ensure that the PR meets the testing requirements set by CodeCov
and that new functionality is appropriately tested.*
*This section describes important information about the tests and why
some elements might not be testable.*


### Code of Conduct & Contributing Guidelines 

By submitting creating this pull request, you agree to follow our [Code
of
Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md):
- [x] I agree to follow the [Code of
Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md).
  • Loading branch information
pauljohanneskraft authored Nov 5, 2024
1 parent 3fe8244 commit d61edc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/user/queries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const getUserInvitationData = async (userId: string) => {
return {
user: {
...invitation.user,
invitationCode: invitation.id,
invitationCode: invitation.code,
lastActiveDate: null,
},
authUser: {
Expand Down

0 comments on commit d61edc0

Please sign in to comment.