diff --git a/services/article.ts b/services/article.ts index 71ee1b1..3c6ec94 100644 --- a/services/article.ts +++ b/services/article.ts @@ -120,7 +120,7 @@ export async function updateArticle(id: string, data: any) { return await httpPut(pathUrl, headers, data); } -export async function getArticleById(id: any, timeStamp: any) { +export async function getArticleById(id: any, timeStamp?: any) { const headers = { "content-type": "application/json", };