Merge branch 'next' into develop

This commit is contained in:
nocobase[bot] 2024-12-05 12:49:09 +00:00
commit 8fef0f473e

View File

@ -75,7 +75,7 @@ export class APIClient extends APIClientSDK {
getHeaders() {
const headers = super.getHeaders();
const appName = this.app.getName();
const appName = this.app?.getName();
if (appName) {
headers['X-App'] = appName;
}