Actually fix.

This commit is contained in:
Adam Treat 2023-04-25 22:49:23 -04:00
parent 704ce45a39
commit d16306a205

View File

@ -377,7 +377,7 @@ Window {
if (isResponse && item.thumbsUpState !== item.thumbsDownState) if (isResponse && item.thumbsUpState !== item.thumbsDownState)
str += ", \"rating\": \"" + (item.thumbsUpState ? "positive" : "negative") + "\""; str += ", \"rating\": \"" + (item.thumbsUpState ? "positive" : "negative") + "\"";
if (isResponse && item.newResponse !== "") if (isResponse && item.newResponse !== "")
str += ", \"edited_content\": \"" + JSON.stringify(item.newResponse) + "\""; str += ", \"edited_content\": " + JSON.stringify(item.newResponse);
if (isResponse && item.stopped) if (isResponse && item.stopped)
str += ", \"stopped\": \"true\"" str += ", \"stopped\": \"true\""
if (!isResponse) if (!isResponse)