fix:#16 added userAgent and fixed logging for room ical

This commit is contained in:
Elmar Kresse
2024-11-18 21:20:45 +01:00
parent 86a6820038
commit 4809192570
3 changed files with 6 additions and 7 deletions

View File

@@ -5,7 +5,6 @@ import (
"github.com/pocketbase/pocketbase"
pb "htwkalender/common/genproto/modules"
"htwkalender/data-manager/service/db"
"log/slog"
)
type RoomServiceHandler struct {
@@ -19,9 +18,6 @@ func (s *RoomServiceHandler) GetRoomEvents(ctx context.Context, in *pb.GetRoomRe
"Protobuf - GetRoomEvents",
"room", in.Room,
)
slog.Error("GetRoomEvents", "room", in.Room)
// get events from database by room
events, err := db.GetRoomSchedule(s.app, in.Room)
if err != nil {