Skip to content

Commit 569711f

Browse files
committed
Update tools.go
1 parent ee6618e commit 569711f

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

pkg/github/tools.go

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,10 @@ func InitToolsets(passedToolsets []string, readOnly bool, getClient GetClientFn,
8181

8282
notifications := toolsets.NewToolset("notifications", "GitHub Notifications related tools").
8383
AddReadTools(
84-
85-
toolsets.NewServerTool(MarkNotificationRead(getClient, t)),
86-
toolsets.NewServerTool(MarkAllNotificationsRead(getClient, t)),
87-
toolsets.NewServerTool(MarkNotificationDone(getClient, t)),
84+
toolsets.NewServerTool(GetNotifications(getClient, t)),
8885
).
8986
AddWriteTools(
90-
toolsets.NewServerTool(GetNotifications(getClient, t)),
91-
toolsets.NewServerTool(GetNotificationThread(getClient, t)),
87+
toolsets.NewServerTool(ManageNotifications(getClient, t)),
9288
)
9389

9490
// Keep experiments alive so the system doesn't error out when it's always enabled

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy