Browse Source

alter message id (#2146)

### What problem does this PR solve?


### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
tags/v0.11.0
Kevin Hu 1 year ago
parent
commit
4bd6c3145c
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      api/apps/canvas_app.py

+ 1
- 1
api/apps/canvas_app.py View File

@@ -91,7 +91,7 @@ def run():
cvs.dsl = json.dumps(cvs.dsl, ensure_ascii=False)

final_ans = {"reference": [], "content": ""}
message_id = get_uuid()
message_id = req.get("message_id", get_uuid())
try:
canvas = Canvas(cvs.dsl, current_user.id)
if "message" in req:

Loading…
Cancel
Save