huchenme / github-trending-api

:octocat: The missing APIs for GitHub trending projects and developers 📈
https://ghapi.huchen.dev/
MIT License
760 stars 107 forks source link

Add status code #145

Closed diggymo closed 3 years ago

diggymo commented 3 years ago

I fixed a bug.

Previously, netlify function does'nt work correctly. It's because that HTTP response code was not included in function's response data. So I fixed this code.

Please merge it.

codecov[bot] commented 3 years ago

Codecov Report

Merging #145 (844741a) into master (cf898c2) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #145   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines           40        40           
  Branches         4         4           
=========================================
  Hits            40        40           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update cf898c2...844741a. Read the comment docs.