From fc90ec1b53af04672ad6948d25d04a30284f038d Mon Sep 17 00:00:00 2001 From: yuyamionini <46483865+yuyamionini@users.noreply.github.com> Date: Mon, 10 Nov 2025 13:40:00 +0800 Subject: [PATCH] fix(terabox): wrong return code used (#1547) fix(terabox): rename, delete, copy operations sometimes failed Signed-off-by: yuyamionini <46483865+yuyamionini@users.noreply.github.com> --- drivers/terabox/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/terabox/util.go b/drivers/terabox/util.go index 518fd4f9..69944d34 100644 --- a/drivers/terabox/util.go +++ b/drivers/terabox/util.go @@ -88,7 +88,7 @@ func (d *Terabox) request(rurl string, method string, callback base.ReqCallback, return nil, err } errno := utils.Json.Get(res.Body(), "errno").ToInt() - if errno == 4000023 || errno == 4500016 { + if errno == 4000023 || errno == 450016 { // reget jsToken err = d.resetJsToken() if err != nil {