Skip to content

Commit

Permalink
Merge pull request #25 from magi-sche-org/develop
Browse files Browse the repository at this point in the history
bump up dev -> main
  • Loading branch information
TAK848 authored Mar 3, 2024
2 parents 0076ca7 + 99b202a commit d599dc0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.git
infra
.github
2 changes: 1 addition & 1 deletion .github/workflows/golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
uses: reviewdog/action-golangci-lint@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
golangci_lint_flags: "--config=./.golangci.yml ./..."
golangci_lint_flags: "--config=./.golangci.yaml ./..."
fail_on_error: true
reporter: "github-pr-review"
2 changes: 1 addition & 1 deletion infra/ecs/ecs-task-def.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
{
name: 'SMTP_USER',
valueFrom: '{{ tfstate `output.api_server_ssm_arn` }}:smtp_user::',
}
},
{
name: 'SMTP_PASSWORD',
valueFrom: '{{ tfstate `output.api_server_ssm_arn` }}:smtp_password::',
Expand Down
2 changes: 1 addition & 1 deletion usecase/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func (eu *eventUsecase) CreateUserAnswer(ctx context.Context, eventId ulid.ULID,
https://magi-sche.net/detail/` + idstr + `から確認できます。
今後ともマジスケをよろしくお願いいたします。`
util.SendMail(*eu.cfg, event.ConfirmationEmail, title, body)
err = util.SendMail(*eu.cfg, event.ConfirmationEmail, title, body)
if err != nil {
log.Printf("failed to send confirmation email: %v", err)
// return entity.UserEventAnswer{}, apperror.NewUnknownError(fmt.Errorf("failed to send confirmation email: %w", err), nil)
Expand Down

0 comments on commit d599dc0

Please sign in to comment.