chore: formatting
This commit is contained in:
@@ -80,7 +80,7 @@ func (h *Handler) HandleWatchPage(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
// resolve current episode: query param > saved progress > first episode
|
||||
currentEpID := r.URL.Query().Get("ep")
|
||||
currentEpID := r.URL.Query().Get("ep")
|
||||
if currentEpID == "" {
|
||||
if user != nil {
|
||||
entry, err := h.svc.db.GetWatchListEntry(r.Context(), db.GetWatchListEntryParams{
|
||||
|
||||
@@ -325,9 +325,9 @@ func (s *Service) fetchPlaybackSourcesAndSegments(ctx context.Context, showID st
|
||||
segmentsCh <- s.fetchSkipSegments(ctx, malID, episode)
|
||||
}()
|
||||
|
||||
modeSources := make(map[string]ModeSource)
|
||||
// collect results from both mode goroutines
|
||||
for range 2 {
|
||||
modeSources := make(map[string]ModeSource)
|
||||
// collect results from both mode goroutines
|
||||
for range 2 {
|
||||
result := <-modeCh
|
||||
if !result.OK {
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user