clearPromptAPI method prop names fixed
This commit is contained in:
parent
d4f7cf5e65
commit
b8501f5974
1 changed files with 2 additions and 2 deletions
|
|
@ -590,7 +590,7 @@ export async function savePrompt(prompt) {
|
|||
|
||||
export async function clearPromptAPI(id){
|
||||
let _prompt = await loadPrompt(id);
|
||||
_prompt.api_type = "";
|
||||
_prompt.api_model = "";
|
||||
_prompt.api = "";
|
||||
_prompt.model = "";
|
||||
await savePrompt(_prompt);
|
||||
}
|
||||
Loading…
Reference in a new issue