Selaa lähdekoodia

Update HandleUpdateActivity

Daniel Supernault 2 vuotta sitten
vanhempi
commit
5bea903409
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/Jobs/ProfilePipeline/HandleUpdateActivity.php

+ 1 - 1
app/Jobs/ProfilePipeline/HandleUpdateActivity.php

@@ -83,7 +83,7 @@ class HandleUpdateActivity implements ShouldQueue
         }
         }
 
 
         if(isset($payload['object']['icon']) && isset($payload['object']['icon']['url'])) {
         if(isset($payload['object']['icon']) && isset($payload['object']['icon']['url'])) {
-            RemoteAvatarFetch::dispatch($profile, $payload['object']['icon']['url'])->onQueue('low');
+            RemoteAvatarFetchFromUrl::dispatch($profile, $payload['object']['icon']['url'])->onQueue('low');
         } else {
         } else {
             $profile->avatar->update(['remote_url' => null]);
             $profile->avatar->update(['remote_url' => null]);
             Cache::forget('avatar:' . $profile->id);
             Cache::forget('avatar:' . $profile->id);