8xFF / atm0s-media-server

Decentralized, Global-Scale Media Server written in Rust (WebRTC/Whip/Whep/Rtmp/Sip)
https://8xff.github.io/media-docs/
MIT License
212 stars 17 forks source link

fix: api missing data #355

Closed giangndm closed 1 month ago

giangndm commented 1 month ago

Pull Request

Description

This PR fix missing data in bellow apis:

Related Issue

If this pull request is related to any issue, please mention it here.

Checklist

Screenshots

N/A

Additional Notes

Currently sea-orm don't support two find_with_related then we need collect data in multiple queries, should fix in future

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 69.76744% with 26 lines in your changes missing coverage. Please review.

Project coverage is 41.66%. Comparing base (da3d144) to head (ac4466f). Report is 1 commits behind head on master.

Files Patch % Lines
bin/src/http/api_console/connector.rs 0.00% 11 Missing :warning:
packages/media_connector/src/sql_storage.rs 86.95% 9 Missing :warning:
bin/src/server/connector/remote_rpc_handler.rs 0.00% 6 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #355 +/- ## ========================================== + Coverage 41.62% 41.66% +0.04% ========================================== Files 134 134 Lines 14120 14159 +39 ========================================== + Hits 5877 5899 +22 - Misses 8243 8260 +17 ```

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