mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
created_by corrected
This commit is contained in:
@@ -36,6 +36,7 @@ class Lecturer extends Model implements HasMedia
|
||||
{
|
||||
static::creating(function ($model) {
|
||||
$model->created_by = auth()->id();
|
||||
$model->team_id = auth()->user()->current_team_id;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user