mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-07-16 09:38:49 +02:00
feat:#16 added frontend button
This commit is contained in:
@ -2,10 +2,10 @@ package grpc
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"github.com/pocketbase/pocketbase"
|
||||
pb "htwkalender/common/genproto/modules"
|
||||
"htwkalender/data-manager/service/db"
|
||||
"log/slog"
|
||||
)
|
||||
|
||||
type RoomServiceHandler struct {
|
||||
@ -20,7 +20,7 @@ func (s *RoomServiceHandler) GetRoomEvents(ctx context.Context, in *pb.GetRoomRe
|
||||
"room", in.Room,
|
||||
)
|
||||
|
||||
fmt.Errorf("Getting events for room %s", in.Room)
|
||||
slog.Error("GetRoomEvents", "room", in.Room)
|
||||
|
||||
// get events from database by room
|
||||
events, err := db.GetRoomSchedule(s.app, in.Room)
|
||||
|
Reference in New Issue
Block a user