Skip to content

Commit

Permalink
style(common/constants/api-messages): fix forbidden message
Browse files Browse the repository at this point in the history
  • Loading branch information
Mnigos committed Dec 4, 2023
1 parent 76b173b commit 32c9d85
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/common/constants/api-messages.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
export const UNAUTHORIZED =
'The user is not authorized to access this resource.'
export const FORBIDDEN =
'The user role has no permission to access this resource.'
export const OPENAI_API_ERROR = 'The OpenAI API has returned an error.'
export const FORBIDDEN = 'The user access to this resource is forbidden'

export const ONE_SUCCESFULLY_FOUND = (entityName: string) =>
`The ${entityName} has been successfully found.`
Expand Down

0 comments on commit 32c9d85

Please sign in to comment.