From e3c2b592a2031847d81bdb748239563deb1c8d59 Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Sat, 6 Aug 2022 23:28:30 -0400 Subject: [PATCH] Switch to regular API to accomodate non-paid OMW users --- server/current.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/current.go b/server/current.go index 86f6a14..9e9f765 100644 --- a/server/current.go +++ b/server/current.go @@ -15,7 +15,7 @@ import ( func (s *Server) Current(ctx context.Context, in *pb.RequestCurrent) (*pb.SendCurrent, error) { log.Println("'Current' function called...") - url := "https://pro.openweathermap.org/data/2.5/weather?" + url := "https://api.openweathermap.org/data/2.5/weather?" lat, lon := getLocation(in.City, s.ApiKey) units := "&units=imperial" token := "&appid=" + s.ApiKey