Skip to content

Commit

Permalink
Fix Student to Engagement file issues
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Ullyott <ullyott.kevin@gmail.com>
  • Loading branch information
Orrison committed Aug 18, 2023
1 parent 956594e commit 5e26288
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app-modules/assist-data-model/src/Models/Student.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function engagementFiles(): MorphToMany
table: 'engagement_file_entities',
foreignPivotKey: 'entity_id',
relatedPivotKey: 'engagement_file_id',
relation: 'student',
relation: 'engagementFiles',
);
}
}
2 changes: 1 addition & 1 deletion app-modules/engagement/src/Models/EngagementFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function students(): MorphToMany
table: 'engagement_file_entities',
foreignPivotKey: 'engagement_file_id',
relatedPivotKey: 'entity_id',
relation: 'student',
relation: 'engagementFiles',
);
}

Expand Down

0 comments on commit 5e26288

Please sign in to comment.