shikorism / tissue

夜のライフログサービス
https://shikorism.net
MIT License
63 stars 9 forks source link

FantiaResolver: リクエストに X-Requested-With ヘッダーを付与 #1307

Closed shibafu528 closed 2 weeks ago

shibafu528 commented 2 weeks ago

Fantia APIに X-Requested-With ヘッダーが必要になっていたため、リクエストを修正しました。

このヘッダーがないと、HTTP 422 で以下のようなレスポンスが返ってきてしまいます。

{"error_text":"システムエラー"}
codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 41.63%. Comparing base (1bd45a3) to head (623210d). Report is 2 commits behind head on develop.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #1307 +/- ## ============================================= + Coverage 41.59% 41.63% +0.04% Complexity 1005 1005 ============================================= Files 127 127 Lines 3681 3684 +3 ============================================= + Hits 1531 1534 +3 Misses 2150 2150 ``` | [Flag](https://app.codecov.io/gh/shikorism/tissue/pull/1307/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=shikorism) | Coverage Δ | | |---|---|---| | [](https://app.codecov.io/gh/shikorism/tissue/pull/1307/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=shikorism) | `?` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=shikorism#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.