Skip to content

Commit

Permalink
merge and update from dev branch
Browse files Browse the repository at this point in the history
  • Loading branch information
DawinYurtseven committed Oct 23, 2024
1 parent 15662c3 commit 5770259
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 6 deletions.
2 changes: 2 additions & 0 deletions api/runner_grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ type GrpcRunnerServer struct {
dao.DaoWrapper
}

//

func (g GrpcRunnerServer) Register(ctx context.Context, request *protobuf.RegisterRequest) (*protobuf.RegisterResponse, error) {
runner := model.Runner{
Hostname: request.Hostname,
Expand Down
3 changes: 2 additions & 1 deletion api/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"context"
"errors"
"fmt"
"github.com/getsentry/sentry-go"
"net/http"
"os"
"path/filepath"
Expand All @@ -18,7 +19,6 @@ import (
"github.com/TUM-Dev/gocast/tools"
"github.com/TUM-Dev/gocast/tools/bot"
"github.com/TUM-Dev/gocast/voice-service/pb"
"github.com/getsentry/sentry-go"
"github.com/gin-gonic/gin"
uuid "github.com/satori/go.uuid"
"gorm.io/gorm"
Expand Down Expand Up @@ -893,4 +893,5 @@ func (r streamRoutes) updateChatEnabled(c *gin.Context) {
c.AbortWithStatusJSON(http.StatusBadRequest, "could not update stream")
return
}

}
Loading

0 comments on commit 5770259

Please sign in to comment.