Fix AI assistant headers for console user

This commit is contained in:
Matej Bačo committed 2023-09-05 16:12:38 +02:00
1 parent 88b6d59051
commit adf99fa4ef
1 file changed
-1
-1
View File
@@ -15,7 +15,6 @@
const { input, handleSubmit, completion, isLoading, complete, error } = useCompletion({
api: endpoint + '/console/assistant',
headers: {
'x-appwrite-mode': 'admin',
'content-type': 'application/json'
}
});