diff --git a/cdk/lib/lambdaStack.ts b/cdk/lib/lambdaStack.ts index 48aaa9c..0ba4dac 100644 --- a/cdk/lib/lambdaStack.ts +++ b/cdk/lib/lambdaStack.ts @@ -121,7 +121,7 @@ export class LambdaStack extends cdk.Stack { // path: /student/verify-email/password const verifyEmailForPasswordIntegration = new apigateway.LambdaIntegration(verifyEmailForPasswordLambda); - verifyEmailResource.addResource('password').addMethod('POST', verifyEmailForPasswordIntegration); + verifyEmailResource.addResource('password').addMethod('POST', verifyEmailForPasswordIntegration); // ================================================================= // Verify Email Complete Lambda diff --git a/cdk/src/service/school/allowedSchools.json b/cdk/src/service/school/allowedSchools.json index b7147d3..0d57a9a 100644 --- a/cdk/src/service/school/allowedSchools.json +++ b/cdk/src/service/school/allowedSchools.json @@ -1,4 +1,9 @@ { + "system": { + "emailDomains": ["@kogocampus.com"], + "name": "System", + "shortenedName": "SYS" + }, "british_columbia_institute_of_technology": { "emailDomains": ["@bcit.ca"], "name": "British Columbia Institute of Technology", diff --git a/commitlint.config.js b/commitlint.config.js index 3682399..d2997ac 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -3,6 +3,6 @@ module.exports = { rules: { // example: git commit -m "foo: test eslint" // type [foo] is for any neglectable changes - 'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'style', 'refactor', 'ci', 'test', 'foo']], + 'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'chore', 'ci', 'test', 'foo']], }, };