Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasReumann committed Aug 13, 2023
1 parent 5065bb9 commit 6c3148f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/course.go
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ func (c Course) IsLoggedIn() bool {
return c.Visibility == "loggedin"
}

// IsEnrolled returns true if visibility is set to 'loggedin' and false if not
// IsEnrolled returns true if visibility is set to 'enrolled' and false if not
func (c Course) IsEnrolled() bool {
return c.Visibility == "enrolled"
}
Expand Down

0 comments on commit 6c3148f

Please sign in to comment.