fix: build process

pull/4469/head
tobikugel 3 weeks ago committed by Thomas Kaul
parent 050a653498
commit fe496e820e

@ -340,9 +340,7 @@ export class AdminController {
): Promise<EnhancedSymbolProfile> {
return this.adminService.patchAssetProfileData(
{ dataSource, symbol },
{
...assetProfile
}
assetProfile
);
}

@ -494,7 +494,7 @@ export class AdminService {
) {
const [assetProfile] = await this.symbolProfileService.getSymbolProfiles([
{
dataSource: newDataSource as DataSource,
dataSource: DataSource[newDataSource.toString()],
symbol: newSymbol as string
}
]);
@ -514,7 +514,7 @@ export class AdminService {
symbol
},
{
dataSource: newDataSource as DataSource,
dataSource: DataSource[newDataSource.toString()],
symbol: newSymbol as string
}
),
@ -524,7 +524,7 @@ export class AdminService {
symbol
},
{
dataSource: newDataSource as DataSource,
dataSource: DataSource[newDataSource.toString()],
symbol: newSymbol as string
}
)
@ -532,7 +532,7 @@ export class AdminService {
return this.symbolProfileService.getSymbolProfiles([
{
dataSource: newDataSource as DataSource,
dataSource: DataSource[newDataSource.toString()],
symbol: newSymbol as string
}
])?.[0];

@ -349,9 +349,7 @@ export class AssetProfileDialog implements OnDestroy, OnInit {
dataSource: this.data.dataSource,
symbol: this.data.symbol
},
{
...assetProfileIdentifier
}
assetProfileIdentifier
)
.pipe(
catchError((error: HttpErrorResponse) => {
@ -435,7 +433,7 @@ export class AssetProfileDialog implements OnDestroy, OnInit {
);
} catch {}
const assetProfileData: UpdateAssetProfileDto = {
const assetProfile: UpdateAssetProfileDto = {
countries,
scraperConfiguration,
sectors,
@ -452,7 +450,7 @@ export class AssetProfileDialog implements OnDestroy, OnInit {
await validateObjectForForm({
classDto: UpdateAssetProfileDto,
form: this.assetProfileForm,
object: assetProfileData
object: assetProfile
});
} catch (error) {
console.error(error);
@ -465,9 +463,7 @@ export class AssetProfileDialog implements OnDestroy, OnInit {
dataSource: this.data.dataSource,
symbol: this.data.symbol
},
{
...assetProfileData
}
assetProfile
)
.subscribe(() => {
this.initialize();

Loading…
Cancel
Save