Skip to content

Commit

Permalink
Fix auth create_token call and updates
Browse files Browse the repository at this point in the history
  • Loading branch information
yamax2 committed Aug 5, 2021
1 parent 8b6c1f0 commit 193163c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
34 changes: 17 additions & 17 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ GEM
airbrussh (1.4.0)
sshkit (>= 1.6.1, != 1.7.0)
ast (2.4.2)
autoprefixer-rails (10.2.5.1)
execjs (> 0)
bootsnap (1.7.5)
autoprefixer-rails (10.3.1.0)
execjs (~> 2)
bootsnap (1.7.7)
msgpack (~> 1.0)
bootstrap (4.6.0)
autoprefixer-rails (>= 9.1.0)
Expand Down Expand Up @@ -147,8 +147,8 @@ GEM
fugit (1.5.0)
et-orbi (~> 1.1, >= 1.1.8)
raabro (~> 1.4)
globalid (0.4.2)
activesupport (>= 4.2.0)
globalid (0.5.2)
activesupport (>= 5.0)
gretel (4.3.0)
actionview (>= 5.1, < 7.0)
railties (>= 5.1, < 7.0)
Expand Down Expand Up @@ -200,15 +200,15 @@ GEM
llhttp-ffi (0.3.1)
ffi-compiler (~> 1.0)
rake (~> 13.0)
loofah (2.10.0)
loofah (2.11.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.1)
mini_mime (>= 0.1.1)
marcel (1.0.1)
method_source (1.0.0)
mini_mime (1.1.0)
mini_portile2 (2.5.3)
mini_portile2 (2.6.1)
minitest (5.14.4)
moment-timezone-rails (1.0.0)
momentjs-rails (>= 2.10.5, <= 3.0.0)
Expand All @@ -218,11 +218,11 @@ GEM
net-scp (3.0.0)
net-ssh (>= 2.6.5, < 7.0.0)
net-ssh (6.1.0)
nio4r (2.5.7)
nokogiri (1.11.7)
mini_portile2 (~> 2.5.0)
nio4r (2.5.8)
nokogiri (1.12.2)
mini_portile2 (~> 2.6.1)
racc (~> 1.4)
nokogiri (1.11.7-x86_64-linux)
nokogiri (1.12.2-x86_64-linux)
racc (~> 1.4)
ox (2.14.5)
parallel (1.20.1)
Expand All @@ -238,7 +238,7 @@ GEM
pry-rails (0.3.9)
pry (>= 0.10.4)
public_suffix (4.0.6)
puma (5.3.2)
puma (5.4.0)
nio4r (~> 2.0)
raabro (1.4.0)
racc (1.5.2)
Expand Down Expand Up @@ -284,7 +284,7 @@ GEM
rb-fsevent (0.11.0)
rb-inotify (0.10.1)
ffi (~> 1.0)
redis (4.3.1)
redis (4.4.0)
redis-classy (2.4.1)
redis-namespace (~> 1.0)
redis-mutex (4.0.2)
Expand Down Expand Up @@ -359,7 +359,7 @@ GEM
sidekiq-cron (1.2.0)
fugit (~> 1.1)
sidekiq (>= 4.2.1)
sidekiq-failures (1.0.0)
sidekiq-failures (1.0.1)
sidekiq (>= 4.0.0)
sidekiq-throttled (0.13.0)
concurrent-ruby
Expand Down Expand Up @@ -406,8 +406,8 @@ GEM
unf_ext (0.0.7.7)
unicode-display_width (2.0.0)
vcr (6.0.0)
webmock (3.13.0)
addressable (>= 2.3.6)
webmock (3.14.0)
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
websocket-driver (0.7.5)
Expand Down Expand Up @@ -480,4 +480,4 @@ DEPENDENCIES
yandex_client

BUNDLED WITH
2.2.24
2.2.25
2 changes: 1 addition & 1 deletion app/services/yandex/create_or_update_token_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def perform_refresh
end

def token_response
@token_response ||= YandexClient.auth.create_token(code: code)
@token_response ||= YandexClient.auth.create_token(code)
end
end
end

0 comments on commit 193163c

Please sign in to comment.