浏览代码

Update MediaTagService, fix ProfileService to soft fail on missing or deleted accounts

Daniel Supernault 2 年之前
父节点
当前提交
df444851b5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Services/MediaTagService.php

+ 1 - 1
app/Services/MediaTagService.php

@@ -57,7 +57,7 @@ class MediaTagService
 
 	protected function idToUsername($id)
 	{
-		$profile = ProfileService::get($id);
+		$profile = ProfileService::get($id, true);
 
 		if(!$profile) {
 			return 'unavailable';