Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit569711f

Browse files
committed
Update tools.go
1 parentee6618e commit569711f

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)

[8]ページ先頭

©2009-2025 Movatter.jp