Correction to template method call

This commit is contained in:
Riccardo
2022-07-30 15:15:08 +02:00
parent 61b13de6ec
commit 0a865f91a9

View File

@@ -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 {