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.
This commit is contained in:
2024-10-07 12:00:54 +02:00
parent ef5349063d
commit 7e8d6e73eb

View File

@@ -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")