Skip to content

Commit

Permalink
fix: 타입 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jinyongp committed Oct 29, 2023
1 parent de02d5b commit 355c5bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/services/blogs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export async function update(
input: {
name?: string;
userId: number;
main?: boolean;
keywords?: {
keyword: string;
tags: string[];
Expand All @@ -91,6 +92,7 @@ export async function update(
where: { id },
data: {
name: input.name,
main: input.main,
...(input.keywords?.length && {
keywordTagMaps: {
deleteMany: {},
Expand Down

0 comments on commit 355c5bb

Please sign in to comment.