Skip to content

Commit

Permalink
Fixed gofumpt
Browse files Browse the repository at this point in the history
  • Loading branch information
SebiWrn committed Apr 25, 2024
1 parent 14ceec1 commit 72ecdc7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion api/info-pages.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ func (r infoPageRoutes) updateText(c *gin.Context) {
RawContent: reqBody.RawContent,
Type: reqBody.Type,
})

if err != nil {
_ = c.Error(tools.RequestError{
Status: http.StatusInternalServerError,
Expand Down
1 change: 0 additions & 1 deletion api/progress.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ func (r progressRoutes) saveProgress(c *gin.Context) {
UserID: tumLiveContext.User.ID,
})
}

}

// watchedRequest corresponds the request that is sent when a user marked the video as watched on the watch page.
Expand Down
1 change: 1 addition & 0 deletions tools/realtime/connector/melody.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package connector

import (
"net/http"

"github.com/TUM-Dev/gocast/tools/realtime"
"github.com/gabstv/melody"
)
Expand Down

0 comments on commit 72ecdc7

Please sign in to comment.