Explorar el Código

Add UserObserver

Daniel Supernault hace 7 años
padre
commit
d84b0c1d41
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
         }
     }