add API authorization

This commit is contained in:
Henry
2023-04-29 18:01:40 +01:00
parent 419d9634b4
commit 2a98c9510f
12 changed files with 967 additions and 111 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import client from './client'
const sendMessageAndGetPrediction = (id, input) => client.post(`/prediction/${id}`, input)
const sendMessageAndGetPrediction = (id, input) => client.post(`/internal-prediction/${id}`, input)
export default {
sendMessageAndGetPrediction