Skip to content

Commit 338abeb

Browse files
committed
fix(notifier): call function correctly
1 parent 8c15da4 commit 338abeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/lambda/notifier/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func main() {
3535
if err != nil {
3636
panic(err)
3737
}
38-
sqsRemoteSyncNotifier := aws.NewSQSRemoteSyncNotifier(config.Config, config.NotifierTopicArn)
38+
sqsRemoteSyncNotifier := aws.NewSNSRemoteSyncNotifier(config.Config, config.NotifierTopicArn)
3939
notifier.Notify(sqsRemoteSyncNotifier.NotifyRemoteSync)
4040

4141
lambda.Start(makeHandler(notifier))

0 commit comments

Comments
 (0)