Signed-off-by: Dominik Willner <th33xitus@gmail.com>
@ -36,6 +36,6 @@ export class CreateAccountDto {
name: string;
@IsString()
@ValidateIf((value) => value !== null)
@ValidateIf((_object, value) => value !== null)
platformId: string | null;
}
@ -35,6 +35,6 @@ export class UpdateAccountDto {
@ -25,7 +25,13 @@ export class GoogleStrategy extends PassportStrategy(Strategy, 'google') {
});
public async validate(profile: Profile, done: Function) {
public async validate(
_request: any,
_token: string,
_refreshToken: string,
profile: Profile,
done: Function
) {
try {
const jwt = await this.authService.validateOAuthLogin({
provider: Provider.GOOGLE,
@ -29,9 +29,9 @@ import { SymbolProfile } from '@prisma/client';
import {
Chart,
ChartData,
LinearScale,
LineController,
LineElement,
PointElement,
TimeScale,
Tooltip,
@ -75,7 +75,7 @@ export class BenchmarkComparatorComponent implements OnChanges, OnDestroy {
Tooltip
);
Tooltip.positioners['top'] = (position: TooltipPosition) =>
Tooltip.positioners['top'] = (_elements, position: TooltipPosition) =>
getTooltipPositionerMapTop(this.chart, position);
@ -29,9 +29,9 @@ import {
BarElement,
@ -80,7 +80,7 @@ export class InvestmentChartComponent implements OnChanges, OnDestroy {
@ -103,7 +103,7 @@ export function getVerticalHoverLinePlugin(
colorScheme?: ColorScheme
return {
afterDatasetsDraw: (chart, options) => {
afterDatasetsDraw: (chart, _, options) => {
const active = chart.getActiveElements();
if (!active || active.length === 0) {
@ -27,9 +27,9 @@ import {
Filler,
@ -86,7 +86,7 @@ export class GfLineChartComponent