Skip to content

Commit

Permalink
chore: Add invite hash to signup endpoints (#4458)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-ssg authored Aug 7, 2024
1 parent 3225c47 commit fb27b57
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/common/stores/account-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ const controller = {
: `${Project.api}auth/oauth/${type}/`,
{
...(_data || {}),
invite_hash: API.getInvite() || undefined,
sign_up_type: API.getInviteType(),
},
)
Expand Down Expand Up @@ -245,6 +246,7 @@ const controller = {
password,
referrer: API.getReferrer() || '',
sign_up_type: API.getInviteType(),
invite_hash: API.getInvite() || undefined,
})
.then((res) => {
data.setToken(res.key)
Expand Down

0 comments on commit fb27b57

Please sign in to comment.