Compare commits
No commits in common. "613090d38a2e482320416a104d718896e73810d7" and "f1c540537a13a8c14ebcc08a5f90662eb8f1a2c1" have entirely different histories.
613090d38a
...
f1c540537a
@ -24,7 +24,7 @@ module MastodonManager
|
||||
mastodon_user = MastodonManager::FindUser.call username: user.cn
|
||||
if mastodon_user
|
||||
Rails.logger.debug { "Setting mastodon_id for user #{user.cn}" }
|
||||
user.update! mastodon_id: mastodon_user.dig(:account, :id).to_i
|
||||
user.update! mastodon_id: @user[:id]
|
||||
else
|
||||
Rails.logger.debug { "No Mastodon user found for username #{user.cn}" }
|
||||
next
|
||||
|
Loading…
x
Reference in New Issue
Block a user