A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
TypeScript agent-skillsaidsh-pluginhacktoberfestjavascriptmcp-serverreactresume-builderself-hostedtypescript
refacto(Resume Controller): reflecting previous change in controller
y8a5y589bd2c16205
diff --git a/apps/server/src/resume/resume.controller.ts b/apps/server/src/resume/resume.controller.tsindex 29d93266f..ab717465d 100644--- a/apps/server/src/resume/resume.controller.ts+++ b/apps/server/src/resume/resume.controller.ts@@ -99,11 +99,15 @@ export class ResumeController {@Param("slug") slug: string,@User("id") userId: string,) {- const resume = await this.resumeService.findOneByUsernameSlug(username, slug, userId);+ const resume = await this.resumeService.findOneByUsernameSlug(username, slug);// Hide private notes from public resume API responsesset(resume.data as ResumeData, "metadata.notes", undefined);+ if (!userId) {+ await this.resumeService.incrementViewCountForOne(resume.id);+ }+return resume;}