Logo Executive is your partner in logo exploration. Our platform boasts a collection of APIs designed to simplify the process of obtaining company logos.
Made usageCount functional with changes in Keys and Subscriptions modals.
Description
closes #348
1) Moved usageCount from Keys modal to Subscriptions modal to reduce the number of database queries.
3) Made usageCount functional and update the data on user dashboard.
Context (Optional)
1) Added fetchUserByApiKeyfunction to get the users based on their API keys.
2) Added isApiUsageLimitExceed function to check if the user is allowed to use the API or is required to upgrade their plan.
Screenshots or Recordings (Optional)
Checklist
[x] I have tested the changes locally and they work as expected.
[x] I have added/updated tests that cover the changes.
[ ] I have updated the documentation to reflect the changes.
[x] This pull request follows the project's coding guidelines.
Summary
Made
usageCount
functional with changes inKeys
andSubscriptions
modals.Description
closes #348 1) Moved
usageCount
fromKeys
modal toSubscriptions
modal to reduce the number of database queries. 3) MadeusageCount
functional and update the data on user dashboard.Context (Optional)
1) Added
fetchUserByApiKey
function to get the users based on their API keys. 2) AddedisApiUsageLimitExceed
function to check if the user is allowed to use the API or is required to upgrade their plan.Screenshots or Recordings (Optional)
Checklist