Przeglądaj źródła

Add UserObserver

Daniel Supernault 7 lat temu
rodzic
commit
d84b0c1d41
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/Observer/UserObserver.php

+ 1 - 1
app/Observer/UserObserver.php

@@ -34,7 +34,7 @@ class UserObserver
             $profile->public_key = $pki_public;
             $profile->save();
 
-            CreateAvatar::dispatch($user);
+            CreateAvatar::dispatch($profile);
         }
     }