Skip to content

Commit 8ab7d00

Browse files
committed
update progress type
1 parent b5457f4 commit 8ab7d00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/request_context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func (exchange *RequestContext) SendLoggingNotification(ctx context.Context, lev
6666
}
6767

6868
// SendProgressNotification send progress notification only if the client has requested progress
69-
func (exchange *RequestContext) SendProgressNotification(ctx context.Context, progress, total *float64, message *string) error {
69+
func (exchange *RequestContext) SendProgressNotification(ctx context.Context, progress float64, total *float64, message *string) error {
7070
if exchange.progressToken == nil {
7171
return nil
7272
}

0 commit comments

Comments
 (0)