浏览代码

Update Profile model, fix getAudienceInbox method

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

+ 1 - 1
app/Profile.php

@@ -277,7 +277,7 @@ class Profile extends Model
 
     public function getAudienceInbox($scope = 'public')
     {
-        return FollowerService::audience($this->id, $scope);
+        return FollowerService::audience($this, $scope);
     }
 
     public function circles()