Browse Source

Revert "fix: DataSource not found during build process"

This reverts commit 4b8625f694.
pull/4469/head
tobikugel 4 weeks ago
committed by Thomas Kaul
parent
commit
050a653498
  1. 10
      apps/api/src/app/admin/admin.service.ts

10
apps/api/src/app/admin/admin.service.ts

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

Loading…
Cancel
Save