Skip to content

Commit

Permalink
fix(notifier): call function correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahhoward committed Oct 18, 2024
1 parent 8c15da4 commit 338abeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/lambda/notifier/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func main() {
if err != nil {
panic(err)
}
sqsRemoteSyncNotifier := aws.NewSQSRemoteSyncNotifier(config.Config, config.NotifierTopicArn)
sqsRemoteSyncNotifier := aws.NewSNSRemoteSyncNotifier(config.Config, config.NotifierTopicArn)
notifier.Notify(sqsRemoteSyncNotifier.NotifyRemoteSync)

lambda.Start(makeHandler(notifier))
Expand Down

0 comments on commit 338abeb

Please sign in to comment.