Skip to content

Commit 59c2ff0

Browse files
committed
returning raw response
1 parent 66fabb7 commit 59c2ff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/github/repositories.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ func GetFileContents(getClient GetClientFn, getRawClient raw.GetRawClientFn, t t
634634
}
635635
return mcp.NewToolResultResource("successfully downloaded binary file", result), nil
636636
}
637-
rawAPIResponseCode = resp.StatusCode
637+
return mcp.NewToolResultText(fmt.Sprintf("Raw API Response: %+v", resp)), nil
638638
}
639639

640640
if rawOpts.SHA != "" {

0 commit comments

Comments
 (0)