소스 검색

Update FollowPipeline

Daniel Supernault 10 달 전
부모
커밋
873031538d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Jobs/FollowPipeline/FollowPipeline.php

+ 1 - 1
app/Jobs/FollowPipeline/FollowPipeline.php

@@ -92,7 +92,7 @@ class FollowPipeline implements ShouldQueue
                 if (PushNotificationService::check('follow', $target->id)) {
                     $user = User::whereProfileId($target->id)->first();
                     if ($user && $user->expo_token && $user->notify_enabled) {
-                        FollowPushNotifyPipeline::dispatchSync($user->expo_token, $actor->username);
+                        FollowPushNotifyPipeline::dispatch($user->expo_token, $actor->username)->onQueue('pushnotify');
                     }
                 }
             }