Mercurial Hosting > lang
diff src/save_chat.js.luan @ 46:cc20eebaa74a
use openai tts
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 14 Aug 2025 11:27:34 +0900 |
parents | 2a4c83ce3deb |
children | 27758f3b2d69 |
line wrap: on
line diff
--- a/src/save_chat.js.luan Wed Aug 13 10:31:24 2025 +0900 +++ b/src/save_chat.js.luan Thu Aug 14 11:27:34 2025 +0900 @@ -17,7 +17,6 @@ return function() local chat = Http.request.parameters.chat or error() local name = Http.request.parameters.name or error() - local language_region = Http.request.parameters.language_region or error() local voice = Http.request.parameters.voice or error() local show_text = Http.request.parameters.show_text local autoplay = Http.request.parameters.autoplay @@ -26,7 +25,6 @@ chat = get_chat_by_id(chat) or error() chat.user_id == current_user().id or error() chat.name = name - chat.language_region = language_region chat.voice = voice chat.show_text = show_text ~= nil chat.autoplay = autoplay ~= nil