From 7e8d6e73eb7573548a6a3be9d8aee395d99268ea Mon Sep 17 00:00:00 2001 From: Mathis Date: Mon, 7 Oct 2024 12:00:54 +0200 Subject: [PATCH] Refactor import statements and clean up code Standardized import quotes in groups controller and reorganized import statements for better readability. Removed unnecessary line breaks in newGroup method. --- apps/backend/src/app/groups/groups.controller.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/apps/backend/src/app/groups/groups.controller.ts b/apps/backend/src/app/groups/groups.controller.ts index 1f2fd2f..3972e2d 100644 --- a/apps/backend/src/app/groups/groups.controller.ts +++ b/apps/backend/src/app/groups/groups.controller.ts @@ -7,11 +7,11 @@ import { Param, ParseIntPipe, Post, - Query -} from '@nestjs/common'; + Query, +} from "@nestjs/common"; +import { CreateGroupDto } from "apps/backend/src/app/groups/groups.dto"; import { ISearchQuery } from "apps/backend/src/app/groups/groups.types"; import { GroupsService } from "./groups.service"; -import { CreateGroupDto } from 'apps/backend/src/app/groups/groups.dto'; @Controller("groups") export class GroupsController { @@ -29,9 +29,7 @@ export class GroupsController { //POST a new group @Post("new") - async newGroup(@Body() dto : CreateGroupDto) { - - } + async newGroup(@Body() dto: CreateGroupDto) {} //DELETE a group @Delete(":groupId")