massenergize / api

Backend Code for Massenergize Portal. This provides the API to the backend database, and is shared by the various front-end portal projects.
MIT License
5 stars 9 forks source link

✨ feat: add support for UUID in campaign ID lookup #1156

Closed abdullai-t closed 3 months ago

abdullai-t commented 3 months ago

Summary / Highlights

This PR enhances the campaign-supported language lookup functionality by allowing queries using either the campaign ID or the campaign slug. This improvement ensures that the campaign frontend can retrieve the list of supported languages using the campaign slug, which is the available identifier

Details (Give details about what this PR accomplishes, include any screenshots etc)

Testing Steps (Provide details on how your changes can be tested)

run make test

Requirements (place an x in each [ ])

Transparency (Project board)
codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 95.74468% with 4 lines in your changes missing coverage. Please review.

Project coverage is 56.06%. Comparing base (366cba8) to head (327196f). Report is 3 commits behind head on main.

Files Patch % Lines
src/api/store/supported_language.py 69.23% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1156 +/- ## ========================================== + Coverage 55.74% 56.06% +0.31% ========================================== Files 461 462 +1 Lines 33886 33963 +77 ========================================== + Hits 18890 19041 +151 + Misses 14996 14922 -74 ```

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