Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kojix2 committed Mar 24, 2024
1 parent c480cc3 commit daa51ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deepl/translator.cr
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ module DeepL

case response.status_code
when 456
QuotaExceededError.new
raise QuotaExceededError.new
when HTTP::Status::FORBIDDEN
raise AuthorizationError.new
when HTTP::Status::NOT_FOUND
Expand Down

0 comments on commit daa51ac

Please sign in to comment.