Browse Source

Revert "fix: DataSource not found during build process"

This reverts commit 4b8625f694.
pull/4469/head
tobikugel 4 weeks ago
parent
commit
3614f58302
  1. 10
      apps/api/src/app/admin/admin.service.ts

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

@ -522,7 +522,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
} }
]); ]);
@ -542,7 +542,7 @@ export class AdminService {
symbol symbol
}, },
{ {
dataSource: newDataSource as keyof typeof DataSource, dataSource: newDataSource as DataSource,
symbol: newSymbol as string symbol: newSymbol as string
} }
), ),
@ -552,7 +552,7 @@ export class AdminService {
symbol symbol
}, },
{ {
dataSource: newDataSource as keyof typeof DataSource, dataSource: newDataSource as DataSource,
symbol: newSymbol as string symbol: newSymbol as string
} }
) )
@ -560,7 +560,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];
@ -610,7 +610,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