Skip to content

Commit

Permalink
feat: send blog link in student dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
harshkhandeparkar committed Jan 13, 2024
1 parent 9efa518 commit 60a58e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions controllers/student.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ type StudentDashboard struct {
College string `json:"college"`
PassedMidEvals bool `json:"passed_mid_evals"`
PassedEndEvals bool `json:"passed_end_evals"`
BlogLink string `json:"blog_link"`

CommitCount uint `json:"commit_count"`
PullCount uint `json:"pull_count"`
Expand Down Expand Up @@ -258,6 +259,7 @@ func CreateStudentDashboard(modelStudent models.Student, db *gorm.DB) StudentDas
College: modelStudent.College,
PassedMidEvals: modelStudent.PassedMidEvals,
PassedEndEvals: modelStudent.PassedEndEvals,
BlogLink: modelStudent.BlogLink,
CommitCount: modelStudent.CommitCount,
PullCount: modelStudent.PullCount,
LinesAdded: modelStudent.LinesAdded,
Expand Down

0 comments on commit 60a58e7

Please sign in to comment.