Skip to content

Commit 5dfc003

Browse files
committed
fix[backend,frontend]: add missing Constants import and remove duplicate variable declaration
1 parent 9904393 commit 5dfc003

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

backend/src/main/java/com/park/utmstack/web/rest/application_modules/UtmModuleGroupResource.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.park.utmstack.web.rest.application_modules;
22

33
import com.park.utmstack.aop.logging.AuditEvent;
4+
import com.park.utmstack.config.Constants;
45
import com.park.utmstack.domain.application_events.enums.ApplicationEventType;
56
import com.park.utmstack.domain.application_modules.UtmModule;
67
import com.park.utmstack.domain.application_modules.UtmModuleGroup;

frontend/src/app/app-module/guides/guide-soc-ai/guide-soc-ai.component.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -394,12 +394,6 @@ export class GuideSocAiComponent implements OnInit {
394394
if (authType) {
395395
this.formValues['authType'] = authType.confValue || 'custom-headers';
396396
}
397-
398-
const customHeaders = this.getConf('utmstack.socai.customHeaders');
399-
if (customHeaders) {
400-
this.formValues['customHeaders'] = customHeaders.confValue || '{}';
401-
this.parseHeadersFromJson(this.formValues['customHeaders']);
402-
}
403397
} else {
404398
this.headerRows = [];
405399
// Set defaults for the new provider

0 commit comments

Comments
 (0)