diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-02-21 17:33:53 -0600 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-02-23 09:31:56 -0600 |
commit | c10064aad5d0e4ca1981fd898a6688e42ea8c9d0 (patch) | |
tree | 9c61c03ce7ff16a49cc3b328fc308cd41c65bd94 /lib/api/api_guard.rb | |
parent | b7d8df503cf35b3048b273dc0cadb5ec39aac5e1 (diff) | |
download | gitlab-ce-c10064aad5d0e4ca1981fd898a6688e42ea8c9d0.tar.gz |
Enable Style/SpaceInsideBrackets
Diffstat (limited to 'lib/api/api_guard.rb')
-rw-r--r-- | lib/api/api_guard.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/api_guard.rb b/lib/api/api_guard.rb index dad588debf0..a955d17c9d1 100644 --- a/lib/api/api_guard.rb +++ b/lib/api/api_guard.rb @@ -114,7 +114,7 @@ module API private def install_error_responders(base) - error_classes = [ MissingTokenError, TokenNotFoundError, + error_classes = [MissingTokenError, TokenNotFoundError, ExpiredError, RevokedError, InsufficientScopeError] base.send :rescue_from, *error_classes, oauth2_bearer_token_error_handler |