From 5fec2312be095bee9724c106c4bf93b19667c850 Mon Sep 17 00:00:00 2001 From: yuval-hazaz Date: Thu, 21 Dec 2023 08:55:11 +0200 Subject: [PATCH] fix custom function names --- server/src/post/post.service.ts | 4 ++-- server/src/tag/tag.service.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server/src/post/post.service.ts b/server/src/post/post.service.ts index 47e6afa..839fee6 100644 --- a/server/src/post/post.service.ts +++ b/server/src/post/post.service.ts @@ -12,7 +12,7 @@ export class PostService extends PostServiceBase { super(prisma); } - async create( + async createPost( args: Prisma.SelectSubset ): Promise { // Set Slug on creation @@ -28,7 +28,7 @@ export class PostService extends PostServiceBase { return super.createPost(args); } - async update( + async updatePost( args: Prisma.SelectSubset ): Promise { // Prevent Slugs from being removed diff --git a/server/src/tag/tag.service.ts b/server/src/tag/tag.service.ts index 12a92f6..722f1d9 100644 --- a/server/src/tag/tag.service.ts +++ b/server/src/tag/tag.service.ts @@ -11,7 +11,7 @@ export class TagService extends TagServiceBase { super(prisma); } - async create( + async createTag( args: Prisma.SelectSubset ): Promise { // Set Slug on creation @@ -19,7 +19,7 @@ export class TagService extends TagServiceBase { return super.createTag(args); } - async update( + async updateTag( args: Prisma.SelectSubset ): Promise { // Prevent Slugs from being removed