Browse Source

Update ProfileService, add softFail param

Daniel Supernault 2 năm trước cách đây
mục cha
commit
6bc20a37ed
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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)