Feat: room-link copy

This commit is contained in:
Grail Finder
2025-05-16 16:34:55 +03:00
parent 0c94811632
commit 734088d96d
4 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,7 @@ func createRoom(ctx context.Context, req *models.RoomReq) (*models.Room, error)
return nil, err
}
room := req.CreateRoom(creator)
room.RoomLink = cfg.BaseURL + "/room-join?id=" + room.ID
if err := saveRoom(room); err != nil {
return nil, err
}