From 79ca58a9d365d6c602012ca1d634408ec01519f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kratochv=C3=ADl?= <xkrato10@fi.muni.cz> Date: Sun, 19 Jun 2022 00:48:02 +0200 Subject: [PATCH] fix: deleted root Hello world example --- backend/src/app.controller.ts | 7 +------ backend/src/app.service.ts | 6 +----- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/backend/src/app.controller.ts b/backend/src/app.controller.ts index cce879e..c73d6d8 100644 --- a/backend/src/app.controller.ts +++ b/backend/src/app.controller.ts @@ -1,12 +1,7 @@ -import { Controller, Get } from '@nestjs/common'; +import { Controller } from '@nestjs/common'; import { AppService } from './app.service'; @Controller() export class AppController { constructor(private readonly appService: AppService) {} - - @Get() - getHello(): string { - return this.appService.getHello(); - } } diff --git a/backend/src/app.service.ts b/backend/src/app.service.ts index 927d7cc..7263d33 100644 --- a/backend/src/app.service.ts +++ b/backend/src/app.service.ts @@ -1,8 +1,4 @@ import { Injectable } from '@nestjs/common'; @Injectable() -export class AppService { - getHello(): string { - return 'Hello World!'; - } -} +export class AppService {} -- GitLab