summaryrefslogtreecommitdiff
path: root/bilibili/room_profile.go
diff options
context:
space:
mode:
Diffstat (limited to 'bilibili/room_profile.go')
-rw-r--r--bilibili/room_profile.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bilibili/room_profile.go b/bilibili/room_profile.go
index 1d5bdf4..0d703ee 100644
--- a/bilibili/room_profile.go
+++ b/bilibili/room_profile.go
@@ -5,7 +5,7 @@ import (
"github.com/keuin/slbr/types"
)
-func (b Bilibili) GetRoomProfile(roomId types.RoomId) (resp types.RoomProfileResponse, err error) {
+func (b *Bilibili) GetRoomProfile(roomId types.RoomId) (resp types.RoomProfileResponse, err error) {
url := fmt.Sprintf("https://api.live.bilibili.com/room/v1/Room/get_info?room_id=%d", roomId)
return callGet[types.RoomProfileResponse](b, url)
}