add splatfest tee replica to ok gear list

This commit is contained in:
Sendou
2020-05-16 14:41:51 +03:00
parent 1330956545
commit 41ca226ad4
2 changed files with 4 additions and 3 deletions

View File

@@ -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")
}

View File

@@ -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",