expire invite on existing user
This commit is contained in:
parent
b8a648d931
commit
5af35f1b34
@ -101,6 +101,8 @@ class v1 {
|
||||
project.shared_user_ids.push(req.session.auth.uuid)
|
||||
await project.save()
|
||||
}
|
||||
invite.used = true
|
||||
await invite.save()
|
||||
return res.redirect('/dash/v1')
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user