API: Update error messages in api-key
service
#417
Labels
difficulty: 1
good first issue
Good for newcomers
priority: high
released
scope: api
Everything related to the API
type: bug
Something isn't working
Description
When trying to operate on an API key using its slug, we might hit a 404. Although everything works fine, the error messages are inconsistent.
keyshade/apps/api/src/api-key/service/api-key.service.ts
Line 140 in 89e2fcc
keyshade/apps/api/src/api-key/service/api-key.service.ts
Line 164 in 89e2fcc
keyshade/apps/api/src/api-key/service/api-key.service.ts
Line 96 in 89e2fcc
Solution
We would like to update the message to:
The text was updated successfully, but these errors were encountered: