mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-07 14:39:25 +08:00
Merge branch 'next' into develop
This commit is contained in:
commit
8fef0f473e
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user