diff --git a/src/utils/api/post.ts b/src/utils/api/post.ts index 7a6b95c..4934f91 100644 --- a/src/utils/api/post.ts +++ b/src/utils/api/post.ts @@ -90,7 +90,7 @@ class Post { } } - setStatusPost(id: string, status = "ACCEPTED", reason: string) { + setStatusPost(id: string, status = "ACCEPTED", reason?: string) { try { const data = { status,