mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-26 13:17:15 -05:00
can't suggest if already vouched
This commit is contained in:
@@ -387,7 +387,9 @@ const resolvers = {
|
||||
|
||||
if (
|
||||
user.plus.membership_status === args.server ||
|
||||
user.plus.membership_status === "ONE"
|
||||
user.plus.membership_status === "ONE" ||
|
||||
user.plus.vouch_status === args.server ||
|
||||
user.plus.vouch_status === "ONE"
|
||||
)
|
||||
throw new UserInputError(
|
||||
"Suggested user is already a member of the server."
|
||||
|
||||
Reference in New Issue
Block a user