fix: propagate publish release flag through Go agent endpoints (#17347)

This commit is contained in:
euvre
2026-07-30 19:27:44 +08:00
committed by GitHub
parent d87d9a2881
commit 9519ad7e08
19 changed files with 340 additions and 47 deletions

View File

@@ -125,7 +125,8 @@ request.interceptors.response.use(
}
}
const skipErrorNotification = (response.config as any)?.skipGlobalErrorNotification;
const skipErrorNotification = (response.config as any)
?.skipGlobalErrorNotification;
if (data?.code === 100 && !skipErrorNotification) {
message.error(data?.message);
} else if (data?.code === 401) {