Explorar o código

Update ProfileService, add softFail param

Daniel Supernault %!s(int64=2) %!d(string=hai) anos
pai
achega
6bc20a37ed
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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)