소스 검색

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



불러오는 중...
취소
저장