mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 00:08:46 +00:00
Fix rubocop issues, introduce usage of frozen literal to improve performance
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class UnblockService < BaseService
|
||||
def call(account, target_account)
|
||||
account.unblock!(target_account) if account.blocking?(target_account)
|
||||
|
||||
Reference in New Issue
Block a user