-
Couldn't load subscription status.
- Fork 51
ListPullRequestsOptions does not work? #162
base: master
Are you sure you want to change the base?
Conversation
|
How can I make the test passed if there are some dependencies in my code? https://drone.gitea.io/go-gitea/go-sdk/152/1/2 |
|
@lunny Could you please review this before I update other files? |
gitea/gitea.go
Outdated
| u.RawPath = "/api/v1" + path | ||
| u.Path = "/api/v1" + unescaped | ||
|
|
||
| if body != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only if method is GET to do that.
| } | ||
|
|
||
| if method == "POST" || method == "PUT" { | ||
| bodyBytes, err := json.Marshal(body) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The body has been read to end on above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please explain?
|
Please resolve the conflicts. |
4e11e49 to
3d21a91
Compare
Fix #161