@ngn-net/nestjs-telescope 0.1.11 → 0.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -151,7 +151,7 @@ __decorate([
151
151
  __metadata("design:returntype", void 0)
152
152
  ], TelescopeController.prototype, "serveDashboard", null);
153
153
  __decorate([
154
- (0, common_1.Get)('*'),
154
+ (0, common_1.Get)('*path'),
155
155
  __param(0, (0, common_1.Req)()),
156
156
  __param(1, (0, common_1.Res)()),
157
157
  __metadata("design:type", Function),
@@ -78,7 +78,10 @@ let TelescopeRepository = class TelescopeRepository {
78
78
  return await this.entryRepo.findOne({ where: { uuid } });
79
79
  }
80
80
  async clearAll() {
81
- return await this.entryRepo.delete({});
81
+ return await this.entryRepo
82
+ .createQueryBuilder()
83
+ .delete()
84
+ .execute();
82
85
  }
83
86
  async countByType() {
84
87
  const results = await this.entryRepo
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngn-net/nestjs-telescope",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },