Skip to content

Commit fa15c2c

Browse files
committed
Prettier
1 parent 77ee8f3 commit fa15c2c

4 files changed

Lines changed: 4745 additions & 1687 deletions

File tree

‎packages/api-gateway/test/email.e2e-spec.ts‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -630,9 +630,7 @@ describe('Email Senders Routes', () => {
630630
});
631631

632632
it('Fails without an Authorization header', async () => {
633-
return request(app.getHttpServer())
634-
.get('/email/senders')
635-
.expect(401);
633+
return request(app.getHttpServer()).get('/email/senders').expect(401);
636634
});
637635

638636
it('Fails with an invalid API Key', async () => {
@@ -656,9 +654,7 @@ describe('Email Domains Routes', () => {
656654
});
657655

658656
it('Fails without an Authorization header', async () => {
659-
return request(app.getHttpServer())
660-
.get('/email/domains')
661-
.expect(401);
657+
return request(app.getHttpServer()).get('/email/domains').expect(401);
662658
});
663659

664660
it('Fails with an invalid API Key', async () => {

‎packages/db-service/src/global-exception.filter.ts‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,9 @@ function mapPrismaErrorToRpcException(
3535
}
3636

3737
@Catch(RpcException, Prisma.PrismaClientKnownRequestError, Error)
38-
export class CustomRpcExceptionFilter
39-
implements
40-
RpcExceptionFilter<
41-
RpcException | Prisma.PrismaClientKnownRequestError | Error
42-
>
43-
{
38+
export class CustomRpcExceptionFilter implements RpcExceptionFilter<
39+
RpcException | Prisma.PrismaClientKnownRequestError | Error
40+
> {
4441
catch(
4542
exception: RpcException | Prisma.PrismaClientKnownRequestError | Error,
4643
): Observable<any> {

‎packages/file-service/src/modules/file_provider/file_provider.controller.ts‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ import { status } from '@grpc/grpc-js';
77

88
@Controller()
99
@FileProviderProto.FileProviderFileServiceControllerMethods()
10-
export class FileProviderController
11-
implements FileProviderFileServiceController
12-
{
10+
export class FileProviderController implements FileProviderFileServiceController {
1311
private fileProviderDbService: FileProviderProto.FileProviderDbServiceClient;
1412
constructor(
1513
@Inject(FileProviderProto.FILE_PROVIDER_DB_SERVICE_NAME)

0 commit comments

Comments
 (0)