From 3f7c5326cf95979a0b60adf216ff10dad77f2c2e Mon Sep 17 00:00:00 2001 From: Matthew R Date: Tue, 1 Mar 2022 13:45:25 -0500 Subject: [PATCH] fixes to apply cmd --- package-lock.json | 5 +++-- src/commands/apply.ts | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4370354..4f7658a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1521,7 +1521,8 @@ }, "node_modules/cr-db": { "version": "1.0.0", - "resolved": "git+https://gitlab.libraryofcode.org/engineering/community-relations/database.git#afe03b8012d751de08f68a4bd62e040435b71230", + "resolved": "git+https://gitlab.libraryofcode.org/engineering/community-relations/database.git#3113144340764907c0beb602710e5a74d3d7db9e", + "hasInstallScript": true, "license": "MIT", "dependencies": { "@typegoose/typegoose": "^9.4.0", @@ -7836,7 +7837,7 @@ "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" }, "cr-db": { - "version": "git+https://gitlab.libraryofcode.org/engineering/community-relations/database.git#afe03b8012d751de08f68a4bd62e040435b71230", + "version": "git+https://gitlab.libraryofcode.org/engineering/community-relations/database.git#3113144340764907c0beb602710e5a74d3d7db9e", "from": "cr-db@git+https://gitlab.libraryofcode.org/engineering/community-relations/database.git", "requires": { "@typegoose/typegoose": "^9.4.0", diff --git a/src/commands/apply.ts b/src/commands/apply.ts index dde9908..11f0490 100644 --- a/src/commands/apply.ts +++ b/src/commands/apply.ts @@ -81,6 +81,7 @@ export default class Apply extends Command { url: 'https://eds.libraryofcode.org/cs/cwgss', validation: async (member: Member) => { if (!member.roles.includes('546457886440685578')) return false; + return true; }, func: async (client: Client, ...data: any[]) => { const token = nanoid();