Преглед изворни кода

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 година
родитељ
комит
4bd6c3145c
No account linked to committer's email address
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      api/apps/canvas_app.py

+ 1
- 1
api/apps/canvas_app.py Прегледај датотеку

cvs.dsl = json.dumps(cvs.dsl, ensure_ascii=False) cvs.dsl = json.dumps(cvs.dsl, ensure_ascii=False)


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

Loading…
Откажи
Сачувај