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:
parent
ef5349063d
commit
7e8d6e73eb
@ -7,11 +7,11 @@ import {
|
|||||||
Param,
|
Param,
|
||||||
ParseIntPipe,
|
ParseIntPipe,
|
||||||
Post,
|
Post,
|
||||||
Query
|
Query,
|
||||||
} from '@nestjs/common';
|
} from "@nestjs/common";
|
||||||
|
import { CreateGroupDto } from "apps/backend/src/app/groups/groups.dto";
|
||||||
import { ISearchQuery } from "apps/backend/src/app/groups/groups.types";
|
import { ISearchQuery } from "apps/backend/src/app/groups/groups.types";
|
||||||
import { GroupsService } from "./groups.service";
|
import { GroupsService } from "./groups.service";
|
||||||
import { CreateGroupDto } from 'apps/backend/src/app/groups/groups.dto';
|
|
||||||
|
|
||||||
@Controller("groups")
|
@Controller("groups")
|
||||||
export class GroupsController {
|
export class GroupsController {
|
||||||
@ -29,9 +29,7 @@ export class GroupsController {
|
|||||||
|
|
||||||
//POST a new group
|
//POST a new group
|
||||||
@Post("new")
|
@Post("new")
|
||||||
async newGroup(@Body() dto : CreateGroupDto) {
|
async newGroup(@Body() dto: CreateGroupDto) {}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
//DELETE a group
|
//DELETE a group
|
||||||
@Delete(":groupId")
|
@Delete(":groupId")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user