Procházet zdrojové kódy

Update ProfileService, add softFail param

Daniel Supernault před 2 roky
rodič
revize
6bc20a37ed
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      app/Services/ProfileService.php

+ 2 - 2
app/Services/ProfileService.php

@@ -4,9 +4,9 @@ namespace App\Services;
 
 class ProfileService
 {
-	public static function get($id)
+	public static function get($id, $softFail = false)
 	{
-		return AccountService::get($id);
+		return AccountService::get($id, $softFail);
 	}
 
 	public static function del($id)