mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-20 01:55:26 -05:00
add splatfest tee replica to ok gear list
This commit is contained in:
@@ -296,7 +296,7 @@ const resolvers = {
|
||||
},
|
||||
},
|
||||
Query: {
|
||||
plusDraftCups: async (root, args) => {
|
||||
plusDraftCups: async () => {
|
||||
const leaderboards = await Leaderboard.find()
|
||||
.or([{ type: "DRAFTONE" }, { type: "DRAFTTWO" }])
|
||||
.populate("players.discord_user")
|
||||
@@ -306,7 +306,7 @@ const resolvers = {
|
||||
|
||||
return { leaderboards, tournaments }
|
||||
},
|
||||
searchForDraftCup: async (root, args) => {
|
||||
searchForDraftCup: async (_, args) => {
|
||||
const tournament = await DetailedTournament.findOne({
|
||||
name: { $regex: new RegExp(args.name, "i") },
|
||||
}).populate("top_3_discord_users")
|
||||
@@ -327,7 +327,7 @@ const resolvers = {
|
||||
},
|
||||
},
|
||||
Mutation: {
|
||||
addDetailedTournament: async (root, args) => {
|
||||
addDetailedTournament: async (_, args) => {
|
||||
if (args.lanistaToken !== process.env.LANISTA_TOKEN) {
|
||||
throw new AuthenticationError("Invalid token provided")
|
||||
}
|
||||
|
||||
@@ -405,6 +405,7 @@ const gear = [
|
||||
"Red V-Neck Limited Tee",
|
||||
"Retro Sweat",
|
||||
"Splatfest Tee",
|
||||
"Splatfest Tee Replica",
|
||||
"Squid Yellow Layered LS",
|
||||
"Squidmark LS",
|
||||
"Squidmark Sweat",
|
||||
|
||||
Reference in New Issue
Block a user