Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Fix issue creation. Stringify payload before sending to server as server expects string

天舟cf8f48a46ed0
diff --git a/frontend/src/store/modules/issue.ts b/frontend/src/store/modules/issue.ts
index 338471eccf..83e0b01311 100644
--- a/frontend/src/store/modules/issue.ts
+++ b/frontend/src/store/modules/issue.ts
@@ -149,7 +149,11 @@ const actions = {
{
data: {
type: "IssueCreate",
- attributes: newIssue,
+ attributes: {
+ ...newIssue,
+ // Server expects payload as string, so we stringify first.
+ payload: JSON.stringify(newIssue.payload),
+ },
},
}
)