This commit is contained in:
Bastian Wagner
2024-09-12 16:01:34 +02:00
parent 4e0c212186
commit 14ef69bc58
4 changed files with 20 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ export class AppController {
constructor(private readonly appService: AppService) {}
@Get()
getHello(): string {
getHello(): any {
return this.appService.getHello();
}
}

View File

@@ -2,7 +2,7 @@ import { Injectable } from '@nestjs/common';
@Injectable()
export class AppService {
getHello(): string {
return 'Hello World!';
getHello(): any {
return { success: true };
}
}