Skip to content

Commit ab3cb9f

Browse files
additional refactoring for server helpers based on recent updates to google/go-github
1 parent 4c1ce77 commit ab3cb9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/github/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ func OptionalBigIntArrayParam(r mcp.CallToolRequest, p string) ([]int64, error)
241241
if !ok {
242242
return []int64{}, fmt.Errorf("parameter %s is not of type string, is %T", p, v)
243243
}
244-
int64Slice[i] = convertStringToBigInt(s)
244+
int64Slice[i] = convertStringToBigInt(s, 0)
245245
}
246246
return int64Slice, nil
247247
default:

0 commit comments

Comments
 (0)