Skip to content

Commit

Permalink
linted non-runner files
Browse files Browse the repository at this point in the history
  • Loading branch information
Mjaethers committed Jan 31, 2024
1 parent 0702a9d commit c096cdd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/courses.go
Original file line number Diff line number Diff line change
Expand Up @@ -1512,7 +1512,7 @@ func (r coursesRoutes) regenerateCourseKey(c *gin.Context) {
}

type createCourseRequest struct {
Access string //enrolled, public, hidden or logged in
Access string // enrolled, public, hidden or logged in
CourseID string
EnChat bool
EnDL bool
Expand Down
2 changes: 1 addition & 1 deletion dao/streams.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type StreamsDao interface {

GetDueStreamsForWorkers() []model.Stream
GetDuePremieresForWorkers() []model.Stream
GetStreamByKey(ctx context.Context, key string) (stream model.Stream, err error) //deprecated
GetStreamByKey(ctx context.Context, key string) (stream model.Stream, err error) // deprecated
GetStreamByKeyAndTime(ctx context.Context, key string, time2 time.Time) (stream model.Stream, err error)
GetUnitByID(id string) (model.StreamUnit, error)
GetStreamByTumOnlineID(ctx context.Context, id uint) (stream model.Stream, err error)
Expand Down
2 changes: 0 additions & 2 deletions web/ts/edit-course.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,6 @@ export function lectureEditor(lecture: Lecture): AlpineComponent {
window.location.replace(`/admin/course/${lecture.courseId}`);
}
});

},

restoreKey() {
Expand All @@ -336,7 +335,6 @@ export function lectureEditor(lecture: Lecture): AlpineComponent {
window.location.replace(`/admin/course/${lecture.courseId}`);
}
});

},

/**
Expand Down

0 comments on commit c096cdd

Please sign in to comment.