mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-05 21:32:02 -06:00
update feedback widget to add finished flag after sending
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@formbricks/feedback",
|
||||
"version": "0.1.9",
|
||||
"version": "0.2.0",
|
||||
"source": "src/index.ts",
|
||||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
|
||||
@@ -247,6 +247,7 @@ function submit(e: Event) {
|
||||
pageUrl: window.location.href,
|
||||
},
|
||||
customer: config.customer,
|
||||
finished: true,
|
||||
};
|
||||
|
||||
fetch(`${config.hqUrl || "https://xm.formbricks.com"}/api/capture/forms/${config.formId}/submissions`, {
|
||||
|
||||
Reference in New Issue
Block a user