Browse Source

Initial setup

pull/5533/head
Thomas Kaul 6 days ago
parent
commit
770c688330
  1. 4
      apps/api/src/app/endpoints/data-providers/ghostfolio/ghostfolio.service.ts

4
apps/api/src/app/endpoints/data-providers/ghostfolio/ghostfolio.service.ts

@ -57,11 +57,12 @@ export class GhostfolioService {
symbol
})
.then(async (assetProfile) => {
if (assetProfile) {
await this.prismaService.dataProviderGhostfolioResolvedAssetProfile.upsert(
{
create: {
symbol,
currency: assetProfile.currency ?? '',
currency: assetProfile.currency,
dataSource: assetProfile.dataSource
},
update: {
@ -77,6 +78,7 @@ export class GhostfolioService {
}
}
);
}
result = {
...result,

Loading…
Cancel
Save