diff --git a/handler/handler.go b/handler/handler.go index c9345bb..394cc83 100644 --- a/handler/handler.go +++ b/handler/handler.go @@ -23,7 +23,7 @@ func Handler(ctx context.Context) (string, error) { var newsBatch []db.News table := hackernews.HackernewsTable() - htmlTemplate := hackernews.HackernewsTable() + htmlTemplate := hackernews.HackernewsTemplate() cfg, err := config.LoadDefaultConfig(context.TODO()) if err != nil {