mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update doc-survey-widget.tsx
This commit is contained in:
parent
e889326257
commit
5122aafb8e
@ -328,7 +328,7 @@ const updateSurvey = async ({
|
||||
surveyId?: string;
|
||||
body: DocSurveyUpdateDto;
|
||||
}) => {
|
||||
const response = await fetch(`${DOC_SURVEY_URL}?surveyId=${surveyId}`, {
|
||||
const response = await fetch(`${DOC_SURVEY_URL}?surveyId=${generateRandomSurveyId()}`, {
|
||||
method: "PATCH",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
|
Loading…
Reference in New Issue
Block a user