Fix: SpacetimeDB HTTP API bruker snake_case, ikke camelCase
edit_message reducer forventer workspace_id og new_body, ikke workspaceId og newBody. TypeScript SDK bruker camelCase, men HTTP API-et bruker snake_case. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
52b71e6440
commit
80b7103cba
1 changed files with 2 additions and 2 deletions
|
|
@ -239,8 +239,8 @@ impl AiTextProcessHandler {
|
|||
|
||||
let payload = json!({
|
||||
"id": message_id.to_string(),
|
||||
"workspaceId": workspace_id.to_string(),
|
||||
"newBody": new_body
|
||||
"workspace_id": workspace_id.to_string(),
|
||||
"new_body": new_body
|
||||
});
|
||||
|
||||
let resp = self
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue