diff --git a/components/form/article/create-article-form.tsx b/components/form/article/create-article-form.tsx index 2853e7d..3e320bc 100644 --- a/components/form/article/create-article-form.tsx +++ b/components/form/article/create-article-form.tsx @@ -320,7 +320,7 @@ export default function CreateArticleForm() { createdBy: "345", style: "Informational", projectId: 2, - clientId: "humasClientIdtest", + clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ", lang: "id", }; const res = await updateManualArticle(request); @@ -341,7 +341,7 @@ export default function CreateArticleForm() { createdBy: "345", style: "Informational", projectId: 2, - clientId: "humasClientIdtest", + clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ", lang: "id", }; diff --git a/components/form/article/generate-ai-content-rewrite-form.tsx b/components/form/article/generate-ai-content-rewrite-form.tsx index 9d9e27d..ac4af2f 100644 --- a/components/form/article/generate-ai-content-rewrite-form.tsx +++ b/components/form/article/generate-ai-content-rewrite-form.tsx @@ -26,7 +26,7 @@ const CustomEditor = dynamic( () => { return import("@/components/editor/custom-editor"); }, - { ssr: false } + { ssr: false }, ); const writingStyle = [ @@ -104,7 +104,7 @@ export default function GenerateContentRewriteForm(props: { contextType: "article", lang: selectedLanguage, createdBy: "123123", - clientId: "humasClientIdtest", + clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ", }; const res = await getGenerateRewriter(request); close(); @@ -266,8 +266,8 @@ export default function GenerateContentRewriteForm(props: { selectedId == id && isLoading ? "warning" : selectedId == id - ? "success" - : "default" + ? "success" + : "default" } >
diff --git a/components/form/article/generate-ai-single-form.tsx b/components/form/article/generate-ai-single-form.tsx index 7188a33..ebed8a9 100644 --- a/components/form/article/generate-ai-single-form.tsx +++ b/components/form/article/generate-ai-single-form.tsx @@ -103,7 +103,7 @@ export default function GenerateSingleArticleForm(props: { connectToWeb: true, lang: selectedLanguage, pointOfView: "None", - clientId: "", + clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ", }; const res = await getGenerateTitle(req); const data = res?.data?.data; @@ -121,7 +121,7 @@ export default function GenerateSingleArticleForm(props: { connectToWeb: true, lang: selectedLanguage, pointOfView: "0", - clientId: "", + clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ", }; loading(); const res = await getGenerateKeywords(req); @@ -148,7 +148,7 @@ export default function GenerateSingleArticleForm(props: { articleSize: selectedArticleSize, projectId: 2, createdBy: "123123", - clientId: "humasClientIdtest", + clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ", }; const res = await generateDataArticle(request); close(); @@ -400,8 +400,8 @@ export default function GenerateSingleArticleForm(props: { selectedId == id && isLoading ? "warning" : selectedId == id - ? "success" - : "default" + ? "success" + : "default" } >
diff --git a/components/form/article/generate-bulk-article-form.tsx b/components/form/article/generate-bulk-article-form.tsx index d8db452..437fccf 100644 --- a/components/form/article/generate-bulk-article-form.tsx +++ b/components/form/article/generate-bulk-article-form.tsx @@ -72,7 +72,7 @@ const formSchema = z.object({ additionalKeyword: z.string().min(1, { message: "Additional Keyword must be at least 2 characters.", }), - }) + }), ), }); @@ -128,7 +128,7 @@ export default function GenerateBulkArticle(props: { projectId: 2, data: listData, createdBy: "123123", - clientId: "humasClientIdtest", + clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ", }; const res = await saveBulkArticle(request); @@ -152,7 +152,7 @@ export default function GenerateBulkArticle(props: { connectToWeb: true, lang: selectedLanguage, pointOfView: "None", - clientId: "", + clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ", }; setValue(`rows.${index}.title`, "process..."); @@ -164,7 +164,7 @@ export default function GenerateBulkArticle(props: { const generateKeywords = async ( keyword: string | undefined, - index: number + index: number, ) => { if (keyword) { const req = { @@ -174,7 +174,7 @@ export default function GenerateBulkArticle(props: { connectToWeb: true, lang: selectedLanguage, pointOfView: "0", - clientId: "", + clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ", }; setValue(`rows.${index}.additionalKeyword`, "process..."); const res = await getGenerateKeywords(req); @@ -394,7 +394,7 @@ export default function GenerateBulkArticle(props: { onClick={() => generateTitle( getValues(`rows.${index}.mainKeyword`), - index + index, ) } > @@ -432,7 +432,7 @@ export default function GenerateBulkArticle(props: { onClick={() => generateKeywords( getValues(`rows.${index}.mainKeyword`), - index + index, ) } > diff --git a/components/form/article/generate-rewrite-form.tsx b/components/form/article/generate-rewrite-form.tsx index ed845f9..21b6653 100644 --- a/components/form/article/generate-rewrite-form.tsx +++ b/components/form/article/generate-rewrite-form.tsx @@ -96,7 +96,7 @@ export default function GenerateRewriteArticle(props: { context: contextType == "url" ? null : values.field1, style: selectedWritingSyle, sentiment: "Humorous", - clientId: "humasClientIdtest", + clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ", createdBy: "123123", contextType: contextType, urlContext: contextType === "url" ? values.field1 : null, diff --git a/components/form/article/generate-single-article-form.tsx b/components/form/article/generate-single-article-form.tsx index 83b5bbb..918cc98 100644 --- a/components/form/article/generate-single-article-form.tsx +++ b/components/form/article/generate-single-article-form.tsx @@ -106,7 +106,7 @@ export default function GenerateSingleArticle(props: { connectToWeb: true, lang: selectedLanguage, pointOfView: "None", - clientId: "", + clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ", }; const res = await getGenerateTitle(req); const data = res?.data?.data; @@ -124,7 +124,7 @@ export default function GenerateSingleArticle(props: { connectToWeb: true, lang: selectedLanguage, pointOfView: "0", - clientId: "", + clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ", }; loading(); const res = await getGenerateKeywords(req); @@ -151,7 +151,7 @@ export default function GenerateSingleArticle(props: { articleSize: selectedArticleSize, projectId: 2, createdBy: "123123", - clientId: "humasClientIdtest", + clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ", }; console.log("reqq", request); const res = await generateDataArticle(request); diff --git a/components/form/form-article.tsx b/components/form/form-article.tsx index e360290..1ae935e 100644 --- a/components/form/form-article.tsx +++ b/components/form/form-article.tsx @@ -228,7 +228,7 @@ export default function FormArticle() { createdBy: "123432", style: "Informational", projectId: 2, - clientId: "humasClientIdtest", + clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ", lang: "id", }; diff --git a/components/table/disestages/transcript-draft-table.tsx b/components/table/disestages/transcript-draft-table.tsx index a4c90c7..28b6eff 100644 --- a/components/table/disestages/transcript-draft-table.tsx +++ b/components/table/disestages/transcript-draft-table.tsx @@ -62,7 +62,7 @@ export default function TranscriptDraftTable(props: { const res = await getListTranscript({ query: search || "", page: page, - clientId: "humasClientIdTest", + clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ", limit: 10, createdBy: null,