Browse Source

Improve performance of deleting watchlist item

pull/7908/head
Thomas Kaul 4 weeks ago
parent
commit
e72ade75b9
  1. 1
      apps/api/src/app/endpoints/watchlist/watchlist.service.ts

1
apps/api/src/app/endpoints/watchlist/watchlist.service.ts

@ -159,7 +159,6 @@ export class WatchlistService {
userId
}: { userId: string } & AssetProfileIdentifier): Promise<boolean> {
const assetProfile = await this.prismaService.symbolProfile.findFirst({
select: { id: true },
where: {
dataSource,
symbol,

Loading…
Cancel
Save