Skip to content

Commit f541489

Browse files
authored
fix(netease_music): change ListResp size fields from string to int64 (#8417)
1 parent 6d9c554 commit f541489

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/netease_music/types.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ package netease_music
22

33
import (
44
"context"
5-
"github.com/alist-org/alist/v3/internal/driver"
65
"io"
76
"net/http"
87
"strconv"
98
"strings"
109
"time"
1110

11+
"github.com/alist-org/alist/v3/internal/driver"
1212
"github.com/alist-org/alist/v3/internal/model"
1313
"github.com/alist-org/alist/v3/internal/sign"
1414
"github.com/alist-org/alist/v3/pkg/http_range"
@@ -28,8 +28,8 @@ type SongResp struct {
2828
}
2929

3030
type ListResp struct {
31-
Size string `json:"size"`
32-
MaxSize string `json:"maxSize"`
31+
Size int64 `json:"size"`
32+
MaxSize int64 `json:"maxSize"`
3333
Data []struct {
3434
AddTime int64 `json:"addTime"`
3535
FileName string `json:"fileName"`

0 commit comments

Comments
 (0)