Skip to content

Commit 9f7114f

Browse files
authored
Merge pull request #19 from stats4sd/dev
Deploy bug fix
2 parents d8ae58a + 5bc3df5 commit 9f7114f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/User.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function teams(): BelongsToMany
101101

102102
public function programs(): BelongsToMany
103103
{
104-
return $this->belongsToMany(config('filament-team-management.models.program'), 'program_members', 'user_id', 'program_id');
104+
return $this->belongsToMany(config('filament-team-management.models.program'), 'program_user', 'user_id', 'program_id');
105105
}
106106

107107
public function belongsToTeam(TeamInterface $team): bool

0 commit comments

Comments
 (0)