From f895a75987e0b50907c7a64cdbffa2a8506a159f Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Tue, 19 Sep 2023 17:56:41 +0200 Subject: [PATCH] fixed another typing bug --- client/publicServer/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/publicServer/client.go b/client/publicServer/client.go index b9a33d8b..069bf010 100644 --- a/client/publicServer/client.go +++ b/client/publicServer/client.go @@ -42,7 +42,7 @@ func main() { ctx = metadata.NewOutgoingContext(ctx, md) log.Info("Trying to fetch top news") - if r, err := c.GetTopNews(ctx, &pb.GetNewsRequest{}); err != nil { + if r, err := c.GetTopNews(ctx, &pb.GetTopNewsRequest{}); err != nil { log.WithError(err).Fatal("could not greet") } else { log.WithField("topNewsResponse", r.String()).Info("fetched top news successfully")