Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/projects/tasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func GetTaskMiddleware(next http.Handler) http.Handler {
})
}

// GetTaskMiddleware is middleware that gets a task by id and sets the context to it or panics
// NewTaskMiddleware is middleware that binds a task from the request body and sets the context to it
func NewTaskMiddleware(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {

Expand Down
Loading