Skip to content

Commit

Permalink
chore: add system school entry for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiin Kim authored and Jiin Kim committed Dec 30, 2024
1 parent 11041d0 commit 7284b43
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cdk/lib/lambdaStack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions cdk/src/service/school/allowedSchools.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']],
},
};

0 comments on commit 7284b43

Please sign in to comment.