From 7ce4115276b85d203944c68de58d7d203ff11022 Mon Sep 17 00:00:00 2001 From: andes-it Date: Wed, 22 Jan 2025 16:00:18 +0000 Subject: [PATCH] chore: nx run-many --target lint --fix --parallel 3 --projects=api-domains-documents,api-domains-driving-license,api-domains-driving-license-book,api-domains-education,api-domains-email-signup,api-domains-endorsement-system,api-domains-energy-funds update dirty files --- .../driving-license/src/lib/graphql/qualityPhoto.resolver.ts | 2 +- .../src/lib/graphql/qualitySignature.resolver.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/api/domains/driving-license/src/lib/graphql/qualityPhoto.resolver.ts b/libs/api/domains/driving-license/src/lib/graphql/qualityPhoto.resolver.ts index 28cc3dbfcf8a..e98ef9e4a33a 100644 --- a/libs/api/domains/driving-license/src/lib/graphql/qualityPhoto.resolver.ts +++ b/libs/api/domains/driving-license/src/lib/graphql/qualityPhoto.resolver.ts @@ -22,7 +22,7 @@ export class QualityPhotoResolver { resolveDataUri( @Parent() { hasQualityPhoto }: QualityPhoto, @CurrentUser() user: User, - ): Promise { + ): Promise { return hasQualityPhoto ? this.drivingLicenseService.getQualityPhotoUri(user.authorization) : Promise.resolve(null) diff --git a/libs/api/domains/driving-license/src/lib/graphql/qualitySignature.resolver.ts b/libs/api/domains/driving-license/src/lib/graphql/qualitySignature.resolver.ts index e96a0cfc585d..928ffe03ab05 100644 --- a/libs/api/domains/driving-license/src/lib/graphql/qualitySignature.resolver.ts +++ b/libs/api/domains/driving-license/src/lib/graphql/qualitySignature.resolver.ts @@ -22,7 +22,7 @@ export class QualitySignatureResolver { resolveDataUri( @Parent() { hasQualitySignature }: QualitySignature, @CurrentUser() user: User, - ): Promise { + ): Promise { return hasQualitySignature ? this.drivingLicenseService.getQualitySignatureUri(user.authorization) : Promise.resolve(null)