yukimochi / Activity-Relay

Yet another powerful customizable ActivityPub relay server written in Go.
https://relay.toot.yukimochi.jp/
GNU Affero General Public License v3.0
278 stars 39 forks source link

fix: use io.ReadAll() insteadof Body.Read(). #58

Closed yukimochi closed 1 year ago

yukimochi commented 1 year ago

Bug fix

resolve #57

codecov-commenter commented 1 year ago

Codecov Report

Base: 72.29% // Head: 72.25% // Decreases project coverage by -0.04% :warning:

Coverage data is based on head (9bf3151) compared to base (a1cccf0). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master-v1.1 #58 +/- ## =============================================== - Coverage 72.29% 72.25% -0.05% =============================================== Files 15 15 Lines 1148 1146 -2 =============================================== - Hits 830 828 -2 Misses 279 279 Partials 39 39 ``` | [Impacted Files](https://codecov.io/gh/yukimochi/Activity-Relay/pull/58?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Naoki+Kosaka) | Coverage Δ | | |---|---|---| | [api/decode.go](https://codecov.io/gh/yukimochi/Activity-Relay/pull/58/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Naoki+Kosaka#diff-YXBpL2RlY29kZS5nbw==) | `71.42% <100.00%> (-1.55%)` | :arrow_down: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Naoki+Kosaka). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Naoki+Kosaka)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.