fix: build process

pull/4469/head
tobikugel 3 weeks ago
parent 3614f58302
commit 0990d461c9

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

@ -522,7 +522,7 @@ export class AdminService {
) {
const [assetProfile] = await this.symbolProfileService.getSymbolProfiles([
{
dataSource: newDataSource as DataSource,
dataSource: DataSource[newDataSource.toString()],
symbol: newSymbol as string
}
]);
@ -542,7 +542,7 @@ export class AdminService {
symbol
},
{
dataSource: newDataSource as DataSource,
dataSource: DataSource[newDataSource.toString()],
symbol: newSymbol as string
}
),
@ -552,7 +552,7 @@ export class AdminService {
symbol
},
{
dataSource: newDataSource as DataSource,
dataSource: DataSource[newDataSource.toString()],
symbol: newSymbol as string
}
)
@ -560,7 +560,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