Skip to content

Commit 37cca39

Browse files
authored
Merge pull request #21 from stats4sd/dev
Bug fix deployment for v1.02
2 parents 502e108 + c650292 commit 37cca39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/Team.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function members(): BelongsToMany
8080

8181
public function programs(): BelongsToMany
8282
{
83-
return $this->belongsToMany(config('filament-team-management.models.program'), 'team_programs', 'team_id', 'program_id');
83+
return $this->belongsToMany(config('filament-team-management.models.program'), 'program_team', 'team_id', 'program_id');
8484
}
8585

8686
// add relationship to refer to team model itself, so that app panel > Teams resource can show the selected team for editing

0 commit comments

Comments
 (0)