fix(projects): required id when create project
This commit is contained in:
parent
9908bd229e
commit
256878890b
@ -20,7 +20,7 @@ export class ProjectsResolver {
|
|||||||
@Mutation(() => Project)
|
@Mutation(() => Project)
|
||||||
async createProject(
|
async createProject(
|
||||||
@Args('project', { type: () => CreateProjectInput })
|
@Args('project', { type: () => CreateProjectInput })
|
||||||
dto: UpdateProjectInput,
|
dto: CreateProjectInput,
|
||||||
) {
|
) {
|
||||||
return await this.service.create(dto);
|
return await this.service.create(dto);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user