Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

lint:fix

Blue Mouse62f035ffe929
diff --git a/apps/production/src/marketplace/extensions/extensions.service.ts b/apps/production/src/marketplace/extensions/extensions.service.ts
index 5c6050349..9b1940c21 100644
--- a/apps/production/src/marketplace/extensions/extensions.service.ts
+++ b/apps/production/src/marketplace/extensions/extensions.service.ts
@@ -196,9 +196,7 @@ export class ExtensionsService {
...(await Promise.all(
extension.additionalImages.map(
async image =>
- (
- await this.cdnService.uploadFile(image)
- ).filename,
+ (await this.cdnService.uploadFile(image)).filename,
),
)),
]
@@ -279,15 +277,12 @@ export class ExtensionsService {
category: { id: extension.categoryId && Number(extension.categoryId) },
companyLink: extension.companyLink,
mainImage: extension.mainImage
- ? (
- await this.cdnService.uploadFile(extension.mainImage)
- ).filename
+ ? (await this.cdnService.uploadFile(extension.mainImage)).filename
: oldExtension.mainImage,
additionalImages,
fileURL: extension.extensionScript
- ? (
- await this.cdnService.uploadFile(extension.extensionScript)
- ).filename
+ ? (await this.cdnService.uploadFile(extension.extensionScript))
+ .filename
: oldExtension.fileURL,
},
)