Skip to content

Commit

Permalink
pikpak: fix fatal crash on startup with token that can't be refreshed
Browse files Browse the repository at this point in the history
  • Loading branch information
ncw committed Nov 8, 2024
1 parent abb4f77 commit ee72554
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/pikpak/pikpak.go
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ func newFs(ctx context.Context, name, path string, m configmap.Mapper) (*Fs, err
if strings.Contains(err.Error(), "invalid_grant") {
return f, f.reAuthorize(ctx)
}
return nil, err
}

return f, nil
Expand Down

0 comments on commit ee72554

Please sign in to comment.