nameczz %!s(int64=4) %!d(string=hai) anos
pai
achega
822c8c7c91
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      server/src/collections/collections.controller.ts

+ 5 - 0
server/src/collections/collections.controller.ts

@@ -21,6 +21,11 @@ export class CollectionsController {
     return await this.collectionsService.showCollections();
     return await this.collectionsService.showCollections();
   }
   }
 
 
+  @Get('statistics')
+  async getCollectionsIndexStatus() {
+    return await this.collectionsService.getCollectionsIndexStatus();
+  }
+
   @Post()
   @Post()
   @UsePipes(new ValidationPipe())
   @UsePipes(new ValidationPipe())
   async createCollection(@Body() data: CreateCollection) {
   async createCollection(@Body() data: CreateCollection) {