2
0

🖐️ Analytics drop off rates

This commit is contained in:
Baptiste Arnaud
2022-01-03 17:39:59 +01:00
parent 1093453c07
commit 6322402c96
38 changed files with 876 additions and 147 deletions

View File

@ -1,7 +1,7 @@
import { Answer } from 'db'
import { Answer } from 'bot-engine'
import { sendRequest } from 'utils'
export const upsertAnswer = async (answer: Answer) => {
export const upsertAnswer = async (answer: Answer & { resultId: string }) => {
return sendRequest<Answer>({
url: `/api/answers`,
method: 'PUT',