comparing wip
This commit is contained in:
1 parent
0cf815c00f
commit
cfee6f6b99
23 files changed
+740
-370
No files matched your search
@@ -140,6 +140,6 @@ class Event extends Model
|
||||
|
||||
public function event_user_star()
|
||||
{
|
||||
return $this->hasOne(EventUserStar::class, 'event_id', 'id');
|
||||
return $this->hasOne(EventUserStar::class, 'event_id', 'id')->where('user_id', auth()->user()->id);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user