mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
This commit is contained in:
parent
2cf787a401
commit
75b9bccdd1
1 changed files with 1 additions and 2 deletions
|
@ -42,8 +42,7 @@ export default defineEventHandler(async (event) => {
|
|||
fetchOtherUserData[0].remove_translate_popup || false,
|
||||
email: fetchMainData[0].email || "",
|
||||
name: fetchMainData[0].firstname || "",
|
||||
useCustomGroqKey:
|
||||
fetchOtherUserData[0].groq_api_key.length !== 0 || false,
|
||||
useCustomGroqKey: +(fetchOtherUserData[0].groq_api_key?.length ?? 0) > 0,
|
||||
translate: {
|
||||
enabled: fetchOtherUserData[0].translate_enabled || false,
|
||||
lang: "en",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue