From 0a865f91a9f19d64e2afd67ec18074c2b4dc8d09 Mon Sep 17 00:00:00 2001 From: Riccardo Date: Sat, 30 Jul 2022 15:15:08 +0200 Subject: [PATCH] Correction to template method call --- handler/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {