recurring loading working now
This commit is contained in:
@@ -45,6 +45,7 @@ class SpotifyController < ApplicationController
|
||||
begin
|
||||
token_response = SpotifyClient.new(current_user).token_response_from_code(code)
|
||||
Login.find_or_create_for_response!(current_user, token_response)
|
||||
LoadUserActivitiesJob.perform_later(current_user)
|
||||
true
|
||||
rescue RestClient::Exception, JSON::ParserError => e
|
||||
Rails.logger.error("Spotify callback error: #{e.class} - #{e.message}")
|
||||
|
||||
Reference in New Issue
Block a user