Procházet zdrojové kódy

Self-notify on accepting follow requests (#8541)

master
ThibG před 5 roky
committed by Eugen Rochko
rodič
revize
0b62585748
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. +1
    -0
      app/controllers/api/v1/follow_requests_controller.rb

+ 1
- 0
app/controllers/api/v1/follow_requests_controller.rb Zobrazit soubor

@@ -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



Načítá se…
Zrušit
Uložit