Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Bit-Barron committed Sep 24, 2024
1 parent ad64469 commit 2b4271b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions server/src/app.controller.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {
Body,
Controller,
Get,
HttpException,
HttpStatus,
Post,
Expand All @@ -20,14 +21,15 @@ interface Image {
headers?: { name: string; value: string }[];
}

interface Video {
// Define the structure of your Video type here
}

@Controller('api')
export class AppController {
constructor(private readonly appService: AppService) {}

@Get('hello')
async getHello() {
return 'Hello World!';
}

@Post('imgs')
async getImgUrl(
@Body() payload: { images: Image[]; format: string },
Expand Down

0 comments on commit 2b4271b

Please sign in to comment.