diff --git a/src/presentations/rest/project.controller.ts b/src/presentations/rest/project.controller.ts index 4214eaf..c2cca71 100644 --- a/src/presentations/rest/project.controller.ts +++ b/src/presentations/rest/project.controller.ts @@ -20,7 +20,7 @@ export class ProjectController { const { project, markdown } = await this.projectsService.createProject(request); await this.githubService.createOrUpdateFile({ - path: `src/content/projects/${project.frontmatter.projectName}.md`, + path: `src/content/projects/${project.frontmatter.projectName}.mdx`, content: markdown, message: `chore(content): add ${project.frontmatter.projectName} markdown via API`, });