Skip to content

Commit

Permalink
Merge pull request #1 from RepairShopr/INTS-314-access-token-change
Browse files Browse the repository at this point in the history
INTS-314 - Remove check for invalid access token on client init
  • Loading branch information
masqaramuerte-syn authored Apr 21, 2022
2 parents fb99660 + 1644ee3 commit f960409
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/dropbox/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ module Dropbox
class Client
# @param [String] access_token
def initialize(access_token)
unless access_token =~ /^[a-z0-9_-]{64}$/i
raise ClientError.invalid_access_token
end

@access_token = access_token
end

Expand Down

0 comments on commit f960409

Please sign in to comment.