Skip to content

Commit

Permalink
Swap interface for common
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonF committed Oct 23, 2024
1 parent 1286e9d commit 4613397
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/core/exception/exception.filter.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import { ArgumentsHost, Catch, HttpStatus, Injectable } from '@nestjs/common';
import { GqlExceptionFilter } from '@nestjs/graphql';
import {
ArgumentsHost,
Catch,
HttpStatus,
ExceptionFilter as IExceptionFilter,
Injectable,
} from '@nestjs/common';
import { mapValues } from '@seedcompany/common';
import { HttpAdapter } from '~/core/http';
import { ConfigService } from '../config/config.service';
Expand All @@ -10,7 +15,7 @@ import { isFromHackAttempt } from './is-from-hack-attempt';

@Catch()
@Injectable()
export class ExceptionFilter implements GqlExceptionFilter {
export class ExceptionFilter implements IExceptionFilter {
constructor(
private readonly http: HttpAdapter,
@Logger('nest') private readonly logger: ILogger,
Expand Down

0 comments on commit 4613397

Please sign in to comment.