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!

some fixc

Maksim Mrug7b6fe8f8e182
diff --git a/src/marketplace/extensions/extensions.controller.ts b/src/marketplace/extensions/extensions.controller.ts
index 6e75c0235..77ce91d96 100644
--- a/src/marketplace/extensions/extensions.controller.ts
+++ b/src/marketplace/extensions/extensions.controller.ts
@@ -23,7 +23,6 @@ import { ApiParam, ApiQuery, ApiTags } from '@nestjs/swagger'
import { getRepository, Like } from 'typeorm'
import * as _map from 'lodash/map'
import * as _size from 'lodash/size'
-import * as _isString from 'lodash/isString'
import * as _isEmpty from 'lodash/isEmpty'
import { CreateExtension } from './dtos/create-extension.dto'
import { DeleteExtensionParams } from './dtos/delete-extension-params.dto'
diff --git a/src/marketplace/extensions/extensions.service.ts b/src/marketplace/extensions/extensions.service.ts
index c03bcc8ba..b3af9728c 100644
--- a/src/marketplace/extensions/extensions.service.ts
+++ b/src/marketplace/extensions/extensions.service.ts
@@ -147,8 +147,8 @@ export class ExtensionsService {
return await this.findOne({ where: { id } })
}
- async update(id: string, extension: IUpdateExtension): Promise<any> {
- return this.extensionRepository.update(id, extension)
+ async update(id: string, extension: IUpdateExtension) {
+ await this.extensionRepository.update({ id }, extension)
}
async delete(id: string): Promise<void> {