Skip to content

Commit

Permalink
props.allowedSignUpEmailDomains?.lengthをprops.allowedSignUpEmailDomai…
Browse files Browse the repository at this point in the history
…ns.lengthに変更
  • Loading branch information
fsatsuki committed Apr 11, 2024
1 parent 4cdb3e1 commit 9dc89e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdk/lib/constructs/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export class Auth extends Construct {
});
}

if (props.allowedSignUpEmailDomains?.length >= 1) {
if (props.allowedSignUpEmailDomains.length >= 1) {
const checkEmailDomainFunction = new PythonFunction(this, 'CheckEmailDomain',{
runtime: Runtime.PYTHON_3_12,
index: 'check_email_domain.py',
Expand Down

0 comments on commit 9dc89e0

Please sign in to comment.