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!

fix

Maksim Mrugf227ba361428
diff --git a/src/marketplace/extensions/extensions.controller.ts b/src/marketplace/extensions/extensions.controller.ts
index afe4dd40c..09ebd73cc 100644
--- a/src/marketplace/extensions/extensions.controller.ts
+++ b/src/marketplace/extensions/extensions.controller.ts
@@ -590,14 +590,15 @@ export class ExtensionsController {
updateVersion = extension.version.split('.')
updateVersion[2] = (parseInt(updateVersion[2]) + 1).toString()
break
+ default:
+ updateVersion = extension.version.split('.')
+ updateVersion[2] = (parseInt(updateVersion[2]) + 1).toString()
}
updateVersion = updateVersion.join('.')
}
- if (fileURL || extension.fileURL) {
+ if (fileURL) {
statusInfo = ExtensionStatus.PENDING
- } else {
- statusInfo = ExtensionStatus.NO_EXTENSION_UPLOADED
}
const extensionInstance = this.extensionsService.create({