fix: change update_memory to correct naming convention

fix: update update_memory to POST
This commit is contained in:
Peter De-Ath
2024-06-14 21:23:34 +01:00
parent 493e3068d8
commit bec00e7e64
3 changed files with 5 additions and 5 deletions

View File

@@ -63,7 +63,7 @@ export const updateMemoryById = async (token: string, id: string, content: strin
let error = null;
const res = await fetch(`${WEBUI_API_BASE_URL}/memories/${id}`, {
method: 'PATCH',
method: 'POST',
headers: {
Accept: 'application/json',
'Content-Type': 'application/json',