From c4dbd4a7b2ad86fcb0220a4e2ffdae68d0d00103 Mon Sep 17 00:00:00 2001 From: Keuin Date: Sat, 29 Jul 2023 20:28:19 +0800 Subject: Merge branch 'bugfix-invalid-dmmsg' --- bilibili/request.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bilibili/request.go') diff --git a/bilibili/request.go b/bilibili/request.go index 613530c..39479a1 100644 --- a/bilibili/request.go +++ b/bilibili/request.go @@ -60,7 +60,7 @@ func callGetRaw(b *Bilibili, url string) (resp *http.Response, respBody []byte, } // callGet make a GET request and parse response as a JSON document with given model. -func callGet[T BaseResponse[V], V any](b Bilibili, url string) (resp T, err error) { +func callGet[T types.BaseResponse[V], V any](b *Bilibili, url string) (resp T, err error) { r, data, err := callGetRaw(b, url) if err != nil { return -- cgit v1.2.3