From 4a1147c7ea774615e3b85fa317efa93c8d389fd7 Mon Sep 17 00:00:00 2001 From: Alessio Date: Wed, 6 Nov 2024 22:03:01 -0800 Subject: [PATCH] Fix another typo --- pkg/scraper/api_types_notifications.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/scraper/api_types_notifications.go b/pkg/scraper/api_types_notifications.go index 7271263..5d0862d 100644 --- a/pkg/scraper/api_types_notifications.go +++ b/pkg/scraper/api_types_notifications.go @@ -75,7 +75,7 @@ func (api *API) MarkNotificationsAsRead() error { rslt := struct { Cursor string `json:"cursor"` }{} - err := api.do_http_POST("https://twitter.com/i/api/2/notifications/all/last_seen_cursor.json", "cursor=" + cursor, &rslt) + err = api.do_http_POST("https://twitter.com/i/api/2/notifications/all/last_seen_cursor.json", "cursor=" + cursor, &rslt) if err != nil { return err }