🚸 (editor) Improve typebot updatedAt detection
Make sure the database is the single source of truth
This commit is contained in:
@@ -5,7 +5,7 @@ export const patchTypebotQuery = async (
|
||||
id: string,
|
||||
typebot: Partial<Typebot>
|
||||
) =>
|
||||
sendRequest({
|
||||
sendRequest<{ typebot: Typebot }>({
|
||||
url: `/api/typebots/${id}`,
|
||||
method: 'PATCH',
|
||||
body: typebot,
|
||||
|
||||
Reference in New Issue
Block a user