Skip to content

Commit

Permalink
Merge pull request #59 from Darock-Studio/fix/video-stat
Browse files Browse the repository at this point in the history
Fix build warnings
  • Loading branch information
WindowsMEMZ authored Jan 6, 2024
2 parents c8fab51 + 4185062 commit da2d59c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DarockBili Watch App/Video/VideoDetailView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ struct VideoDetailView: View {
"User-Agent": "Mozilla/5.0"
]
let avid = bv2av(bvid: videoDetails["BV"]!)
DarockKit.Network.shared.requestJSON("https://api.bilibili.com/x/v3/fav/folder/created/list-all?type=2&rid=\(avid)&up_mid=\(dedeUserID)") { respJson, isSuccess in
DarockKit.Network.shared.requestJSON("https://api.bilibili.com/x/v3/fav/folder/created/list-all?type=2&rid=\(avid)&up_mid=\(dedeUserID)", headers: headers) { respJson, isSuccess in
if isSuccess {
if !CheckBApiError(from: respJson) { return }
for folder in respJson["data"]["list"] {
Expand Down

0 comments on commit da2d59c

Please sign in to comment.