fix(projects): required id when create project

This commit is contained in:
Ivan 2021-07-06 15:57:03 +08:00
parent 9908bd229e
commit 256878890b

View File

@ -20,7 +20,7 @@ export class ProjectsResolver {
@Mutation(() => Project)
async createProject(
@Args('project', { type: () => CreateProjectInput })
dto: UpdateProjectInput,
dto: CreateProjectInput,
) {
return await this.service.create(dto);
}