ソースを参照

Self-notify on accepting follow requests (#8541)

master
ThibG 5年前
committed by Eugen Rochko
コミット
0b62585748
1個のファイルの変更1行の追加0行の削除
  1. +1
    -0
      app/controllers/api/v1/follow_requests_controller.rb

+ 1
- 0
app/controllers/api/v1/follow_requests_controller.rb ファイルの表示

@@ -13,6 +13,7 @@ class Api::V1::FollowRequestsController < Api::BaseController

def authorize
AuthorizeFollowService.new.call(account, current_account)
NotifyService.new.call(current_account, Follow.find_by(account: account, target_account: current_account))
render_empty
end



読み込み中…
キャンセル
保存